Counter-Strike
API for doFrag.ru #HNS(floppy)
We offer a wide range of integration methods. You can use any of them or create your own using the JSON API. If you have a suggestion to add a new integration method, please contact us. Contact us
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10798990json
{
"response": {
"steam_id": null,
"domain": "cs.dofrag.ru",
"id": 10798990,
"ip": "213.178.155.157",
"port": 27017,
"query": 27017,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"LUNxCCrdQy\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервера HNS CS 1.6 замечательно подойдут для тех кто любит прыжки и прочий паркур. Суть противостояния контров и террористов сводится к преследованию и трюкам\"}}]",
"game": 10,
"owner": 158170,
"boosts": 1,
"last_offline": 1775652127,
"score": 0,
"last_online": 1775884811,
"icon": null,
"name": "doFrag.ru #HNS(floppy)",
"connect": "cs.dofrag.ru:27017",
"request": "213.178.155.157:27017",
"map": "hns_floppytown",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1766910031,
"last_update": 1775884811,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1650,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "yrasem",
"avatar": "f3e7ff4b-1ee0-4ef5-b7c1-5a59e9da928e.jpg",
"last_online": 1772894449
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10798990");
$data = json_decode($json, true);
var_dump($data);