^0-^5AAE^0- ^1Round^7:4 ^3Host^7:TheLankyK 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286570750453774",
"domain": null,
"id": 11754066,
"ip": "62.49.51.161",
"port": 27017,
"query": 27017,
"project_id": null,
"color": 0,
"city": "Wandsworth",
"description": null,
"game": 311210,
"owner": null,
"boosts": 1,
"last_offline": 1781220186,
"last_online": 1780521194,
"icon": null,
"name": "^0-^5AAE^0- ^1Round^7:4 ^3Host^7:TheLankyK",
"connect": "62.49.51.161:27017",
"request": "62.49.51.161:27017",
"map": "zm_prison",
"gamemode": "^2v3.8.3 ^1Zombies^7:0 ^3Players^7:2",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780520012,
"last_update": 1781220186,
"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": 902,
"language": "en",
"parked": false,
"app": {
"id": 4041,
"steam_id": 311210,
"name": "Call of Duty: Black Ops III",
"url": "call-of-duty-black-ops-iii"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11754066");
$data = json_decode($json, true);
var_dump($data);