Latinpowa2 US East | Solo Duo Trio | x2 | TP | Kits 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 330,
"fps_avg": 333,
"entities_count": 68240,
"world_seed": 0,
"world_size": 3500,
"steam_id": 90286833853843470,
"domain": null,
"id": 11759108,
"ip": "5.249.165.194",
"port": 27000,
"query": 27003,
"project_id": null,
"color": 0,
"city": "Reston",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781083471,
"last_online": 1781103697,
"icon": null,
"name": "Latinpowa2 US East | Solo Duo Trio | x2 | TP | Kits",
"connect": "5.249.165.194:27000",
"request": "5.249.165.194:27003",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2628",
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780931701,
"last_update": 1781103697,
"banned": false,
"wipe": 1780694666,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9644,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11759108");
$data = json_decode($json, true);
var_dump($data);