Counter-Strike 2
API для 👑 [DXDCS.RU] - ONLY DUST2 #7 [!VIPTEST, FREE !SKINS]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9500670json
{
"response": {
"steam_id": "85568392934743201",
"domain": null,
"id": 9500670,
"ip": "95.213.255.138",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 730,
"owner": null,
"boosts": 24,
"last_offline": 1777428796,
"score": 5,
"last_online": 1777460407,
"icon": null,
"name": "👑 [DXDCS.RU] - ONLY DUST2 #7 [!VIPTEST, FREE !SKINS]",
"connect": "95.213.255.138:27015",
"request": "95.213.255.138:27015",
"map": "de_dust2",
"gamemode": "Counter-Strike 2",
"version": "1.41.5.6",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 7920,
"add_date": 1749277813,
"last_update": 1777460407,
"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": 1,
"language": "ru",
"parked": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9500670");
$data = json_decode($json, true);
var_dump($data);