Counter-Strike 2
API для [CS2] UMBRELLA-CS2| !KNIFE !SKINS
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10973319json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10973319,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 730,
"owner": 163591,
"boosts": 1,
"last_offline": 1773467425,
"score": 5,
"last_online": 1772548810,
"icon": null,
"name": "[CS2] UMBRELLA-CS2| !KNIFE !SKINS",
"connect": null,
"request": null,
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 1,
"points": 0,
"add_date": 1769530372,
"last_update": 1773467425,
"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": 16293,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "vova_kustov",
"avatar": "4339bdb8-bd87-41c3-91a7-1e4c8977ebfd.jpg",
"last_online": 1773858201
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10973319");
$data = json_decode($json, true);
var_dump($data);