Exotic Haven | US | Monthly 2X | NPCS | RBs | Shop | JUST WIPED 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 112,
"fps_avg": 122,
"entities_count": 126364,
"world_seed": 440295162,
"world_size": 4500,
"steam_id": "90286552674804759",
"domain": null,
"id": 10922509,
"ip": "135.148.137.50",
"port": 60427,
"query": 60429,
"color": 0,
"city": "Warrenton",
"description": "\nJoin a thriving, Player-driven, Highly Custom Map and unique NPCs \r\n • Explore the map with Custom Rust Cars and Flying Carpet!! \r\n • 500+ rotating Raidable NPC Bases of varying difficulty \r\n • Risk-free opt-in battle royale style PvP Arenas \r\n • Premium Events with High Tier Loot \r\n \r\n Join our other players on Discord! Suggest ideas, report bugs, or just come hang out— we want to create the best memories together.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780482240,
"last_online": 1780581637,
"icon": null,
"name": "Exotic Haven | US | Monthly 2X | NPCS | RBs | Shop | JUST WIPED",
"connect": "135.148.137.50:60427",
"request": "135.148.137.50:60429",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768476960,
"last_update": 1780581637,
"banned": false,
"wipe": 1780026035,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4040,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10922509");
$data = json_decode($json, true);
var_dump($data);