RustGamingNation 3x PvE [Events|Purge|Zombies|SkillTree] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 99852,
"world_seed": 19062025,
"world_size": 4350,
"steam_id": "90286604099041288",
"domain": null,
"id": 9528547,
"ip": "104.143.3.5",
"port": 31015,
"query": 31017,
"color": 0,
"city": "Dallas",
"description": "![RustGamingNation 3x PvE [Events|Purge|Zombies|SkillTree]](https://www.dropbox.com/scl/fi/187avc9uicnm8mghru599/v502SmH.png?rlkey=pdo51grnj7i36st01dmcsfts5&st=xjmmom43&dl=1)\nRustGamingNation 3x PvE\r\nEvents | Purge | Zombies | SkillTree\r\nCustom PvE server with raidable bases, zombies, events, progression, and active development.\r\nFriendly community | Regular wipes | Active admins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595664,
"last_online": 1780608033,
"icon": null,
"name": "RustGamingNation 3x PvE [Events|Purge|Zombies|SkillTree]",
"connect": "104.143.3.5:31015",
"request": "104.143.3.5:31017",
"map": "by klauz24",
"gamemode": "Survival",
"version": "2627",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1750538059,
"last_update": 1780608033,
"banned": false,
"wipe": 1780596091,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3557,
"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/9528547");
$data = json_decode($json, true);
var_dump($data);