API для ||Counter-Strike|Source|V93|DM2000||+FREE|VIP||
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286357420355605",
"domain": null,
"id": 11602802,
"ip": "188.227.32.34",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 240,
"owner": 78931,
"boosts": 1,
"last_offline": 1780054370,
"last_online": 1780287030,
"icon": null,
"name": "||Counter-Strike|Source|V93|DM2000||+FREE|VIP||",
"connect": "188.227.32.34:27015",
"request": "188.227.32.34:27015",
"map": "fy_pool_day_reloaded",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 21,
"bots": 14,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779629123,
"last_update": 1780287030,
"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": 94,
"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/11602802");
$data = json_decode($json, true);
var_dump($data);