Rebels Retreat EU | Trio | Vanilla+ | Biweekly 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 216,
"fps_avg": 214,
"entities_count": 48936,
"world_seed": 1182674372,
"world_size": 3250,
"steam_id": "90286346201278490",
"domain": null,
"id": 11501318,
"ip": "208.115.206.171",
"port": 28080,
"query": 28015,
"color": 0,
"city": "Frankfurt am Main",
"description": "\nVanilla+ Trio Experience\r\n\r\nSolo/Duo/Trio (Max 3)\r\nBi-Weekly Map Wipes (Thursday 19:00)\r\nMonthly BP Wipe (Force)\r\n\r\nLight QoL Only\r\nRecyclers at Fishing Villages\r\nMerged Outpost & Bandit Camp\r\n\r\nCustom Anti-Cheat\r\nActive Admins\r\nNo Pay2Win\r\n\r\nOG Rewards for Early Players\r\n\r\nDiscord: discord.gg/YXnXA9Vx9f",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780593214,
"last_online": 1780040424,
"icon": null,
"name": "Rebels Retreat EU | Trio | Vanilla+ | Biweekly",
"connect": "208.115.206.171:28080",
"request": "208.115.206.171:28015",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779207170,
"last_update": 1780593214,
"banned": false,
"wipe": 1778182496,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 11108,
"language": "de",
"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/11501318");
$data = json_decode($json, true);
var_dump($data);