Rust:BeyondTheWasteland 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 59,
"fps_avg": 59,
"entities_count": 102443,
"world_seed": 1337,
"world_size": 4096,
"steam_id": "90286449531700251",
"domain": null,
"id": 11305365,
"ip": "188.64.34.166",
"port": 28050,
"query": 28051,
"color": 0,
"city": "London",
"description": "\nWelcome to RUST: BEYOND THE WASTELAND — a fully modded PvP server built for non-stop action and survival in a world crawling with the undead.\r\n\r\nBLUEPRINTS\r\n\r\n* Blueprints do not wipe monthly. Progress your tech freely — only Facepunch force wipes will reset your unlocks.\r\n\r\nZOMBIES\r\n\r\n* Zombies Are Everywhere\r\n* This isn’t just about other players. Beware of roaming zombies across the map — they’re fast, hostile, and always watching.\r\n\r\nSHOP + TIME-BASED-REWARDS\r\n\r\n* Use /shop to spend your hard-earned cash.\r\n* Find money in loots Box's, gain as much as you can to get Rich.\r\n* No pay-to-win — your grind is your power.\r\n\r\nKITS\r\n\r\n* Get started with custom kits!\r\nWhether you're fresh out of a spawn or preparing for a raid, the /kit system gives you the tools to fight.\r\n\r\nSERVER FEATURES:\r\n\r\n* Modded PvP Gameplay\r\n* Blueprint Progression (no monthly wipe\r\n* Zombie Threats\r\n* Kits System (/kit)\r\n* Shop System (/shop)\r\n* Earn Money by collecting from Loots to cash into your banks account.\r\n* Balanced, No Pay-to-Win\r\n* Blueprints are shared with teams\r\n* Trade with anyone from anywhere on map (/trade playername)-(/trade accept)\r\n\r\nSurvive the zombies. Raid the players. Dominate the wasteland.\r\nThis is Rust: Beyond The Wasteland — and only the ruthless rise!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776352421,
"last_online": 1780552829,
"icon": null,
"name": "Rust:BeyondTheWasteland",
"connect": "188.64.34.166:28050",
"request": "188.64.34.166:28051",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774592884,
"last_update": 1780552829,
"banned": false,
"wipe": 1778181342,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4405,
"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/11305365");
$data = json_decode($json, true);
var_dump($data);