Counter-Strike 2
API для C.R.A.Z.Y | Public 16+ | Возвращение легенды
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10505811json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10505811,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 730,
"owner": 87160,
"boosts": 1,
"last_offline": 1764395452,
"score": 5,
"last_online": 1763493012,
"icon": null,
"name": "C.R.A.Z.Y | Public 16+ | Возвращение легенды",
"connect": null,
"request": null,
"map": "de_mirage",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 21,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1761168477,
"last_update": 1764395452,
"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": 11955,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "Summury",
"avatar": "a1d1a5c2-c1ec-4d54-bb8c-6ec1159aa1c2.png",
"last_online": 1773781494
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10505811");
$data = json_decode($json, true);
var_dump($data);