Island of the Apes x2 Gather/Vanilla 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 112677,
"world_seed": 476477364,
"world_size": 4500,
"steam_id": 90286492274697230,
"domain": null,
"id": 11725627,
"ip": "104.143.3.235",
"port": 28359,
"query": 28356,
"color": 0,
"city": "Dallas",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780557203,
"last_online": 1780511540,
"icon": null,
"name": "Island of the Apes x2 Gather/Vanilla",
"connect": "104.143.3.235:28359",
"request": "104.143.3.235:28356",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780388555,
"last_update": 1780557203,
"banned": false,
"wipe": 1778211680,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12943,
"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/11725627");
$data = json_decode($json, true);
var_dump($data);