Counter-Strike 2
ЗОНА БОЕВЫХ ДЕЙСТВИЙ - ЗАХОДИ के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/102353json
{
"response": {
"steam_id": null,
"domain": null,
"id": 102353,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "",
"game": 730,
"owner": 13086,
"boosts": 1,
"last_offline": 1750457066,
"score": null,
"last_online": 1738143052,
"icon": null,
"name": "ЗОНА БОЕВЫХ ДЕЙСТВИЙ - ЗАХОДИ",
"connect": null,
"request": null,
"map": "cs_italy",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1539766162,
"last_update": 1750457066,
"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": 15418,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "medvedb",
"avatar": "5fb28d347d1814b85ef59b0340914355.jpg",
"last_online": 1770592204
},
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/102353");
$data = json_decode($json, true);
var_dump($data);