API для ||Counter-Strike|Source|V93|DM35HP||+FREE|VIP||
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286357420553237",
"domain": null,
"id": 11602803,
"ip": "188.227.32.34",
"port": 27017,
"query": 27017,
"color": 0,
"city": "Moscow",
"description": null,
"game": 240,
"owner": 78931,
"boosts": 1,
"last_offline": 1780054370,
"last_online": 1780283433,
"icon": null,
"name": "||Counter-Strike|Source|V93|DM35HP||+FREE|VIP||",
"connect": "188.227.32.34:27017",
"request": "188.227.32.34:27017",
"map": "35hp_pyramid_dusty_final",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 21,
"bots": 13,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779629136,
"last_update": 1780283433,
"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": 143,
"language": "ru",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": {
"username": "AnarheestAnarheest",
"avatar": "5ae57e5a-eb43-471a-a4a7-f47240d7160f.jpg"
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11602803");
$data = json_decode($json, true);
var_dump($data);