Counter-Strike
[Team.铁血]Q群:872868052 公益服会员全部免费 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11490003json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11490003,
"ip": "159.75.53.16",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Guangzhou",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1777486407,
"score": 0,
"last_online": 1777690857,
"icon": null,
"name": "[Team.铁血]Q群:872868052 公益服会员全部免费",
"connect": "159.75.53.16:27015",
"request": "159.75.53.16:27015",
"map": "zm_goldLila_vin",
"gamemode": "【 Team.铁血狂潮 】",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 15,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1777114005,
"last_update": 1777690857,
"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": 6628,
"language": "zh",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11490003");
$data = json_decode($json, true);
var_dump($data);