Counter-Strike: Condition Zero
〖飞鹰=F.Y=联盟〗 混战娱乐2# 华中 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8201806json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8201806,
"ip": "140.143.239.130",
"port": 27025,
"query": 27025,
"color": 0,
"city": "Beijing",
"description": null,
"game": 80,
"owner": null,
"boosts": 1,
"last_offline": 1768642906,
"score": 0,
"last_online": 1776617549,
"icon": null,
"name": "〖飞鹰=F.Y=联盟〗 混战娱乐2# 华中",
"connect": "140.143.239.130:27025",
"request": "140.143.239.130:27025",
"map": "de_tiku2_mlan_b1",
"gamemode": "www.GameFYJH.Cn",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1742392733,
"last_update": 1776617549,
"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": 47,
"language": "zh",
"parked": false,
"app": {
"id": 10,
"steam_id": 80,
"name": "Counter-Strike: Condition Zero",
"url": "counter-strike-condition-zero"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/8201806");
$data = json_decode($json, true);
var_dump($data);