RustStorm AU | 5x | Weekly 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 50,
"fps_avg": 55,
"entities_count": 140914,
"world_seed": 426291966,
"world_size": 4000,
"steam_id": "90286569107439632",
"domain": null,
"id": 11744674,
"ip": "103.15.236.215",
"port": 23583,
"query": 23584,
"color": 0,
"city": "Melbourne",
"description": "\nRustStorm PvP\r\n- 5X Gather Rates\r\n- Better Loot \r\n- Endless Cargo\r\n- Faster Crafting / Smelting / Recycling\r\n- Skill Tree | Backpack\r\n- Skins box\r\n- Player Ranks\r\n- Long Days Short Nights\r\n- All T1 unlocked and Extended Workbench Range\r\n- Weekly wipes (Friday 3am GMT+8)\r\nNo shop or pay to win features",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780518718,
"last_online": 1780591234,
"icon": null,
"name": "RustStorm AU | 5x | Weekly",
"connect": "103.15.236.215:23583",
"request": "103.15.236.215:23584",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780518718,
"last_update": 1780591234,
"banned": false,
"wipe": 1779995388,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6001,
"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/11744674");
$data = json_decode($json, true);
var_dump($data);