可儿云雾 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286613386484741",
"domain": null,
"id": 11658748,
"ip": "202.189.11.126",
"port": 11654,
"query": 11656,
"project_id": null,
"color": 0,
"city": "Beijing",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1780567468,
"last_online": 1780681245,
"icon": null,
"name": "可儿云雾",
"connect": "202.189.11.126:11654",
"request": "202.189.11.126:11656",
"map": "Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 1,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 43,
"add_date": 1780178381,
"last_update": 1780681245,
"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": 176,
"language": "zh",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11658748");
$data = json_decode($json, true);
var_dump($data);