Counter-Strike 2
[CS2 JAIL][RU] Бесшумный округ | DC 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/3637721json
{
"response": {
"steam_id": null,
"domain": null,
"id": 3637721,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"lfQOW5XuDx\",\"type\":\"header\",\"data\":{\"text\":\"Добро пожаловать на проект Develop Club - развивающаяся сеть серверов (JAIL, PUBLIC, AWP).\",\"level\":2}},{\"id\":\"SsxSYso1Kx\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/83e60f0d-5b57-4656-aca7-ba24e8b530c4.png\"}}}]",
"game": 730,
"owner": 11774,
"boosts": 1,
"last_offline": 1760234590,
"score": 4.9,
"last_online": 1757592021,
"icon": null,
"name": "[CS2 JAIL][RU] Бесшумный округ | DC",
"connect": null,
"request": null,
"map": "jail_xmf",
"gamemode": "Counter-Strike 2",
"version": null,
"numplayers": 0,
"maxplayers": 35,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1711695480,
"last_update": 1760234590,
"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": 11971,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "ucallmea",
"avatar": "no.jpg",
"last_online": 1755199255
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/3637721");
$data = json_decode($json, true);
var_dump($data);