AQUA Rust MiniMap | EU Monthly | SOLO / DUO | 2K Mini Map 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 120,
"fps_avg": 119,
"entities_count": 7924,
"world_seed": 1337,
"world_size": 2000,
"steam_id": "90286545540870158",
"domain": null,
"id": 11606657,
"ip": "66.51.97.55",
"port": 28010,
"query": 28011,
"color": 0,
"city": "City of London",
"description": "\nA vanilla 2K mini Duo only map for contested rust play\r\nThere are not many resources on this map, choose your play style carefully\r\nMinicopters can be purchased at harbor\r\nSupermarket, Harbor and Powerplant are the only monuments\r\nNo outpost, No bandit\r\nBlueprints wipe monthly - fresh start every month\r\nTeam limits enforced on TC/Turret Auths",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780557807,
"last_online": 1780508589,
"icon": null,
"name": "AQUA Rust MiniMap | EU Monthly | SOLO / DUO | 2K Mini Map",
"connect": "66.51.97.55:28010",
"request": "66.51.97.55:28011",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915478,
"last_update": 1780557807,
"banned": false,
"wipe": 1778175232,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12192,
"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/11606657");
$data = json_decode($json, true);
var_dump($data);