Rust
RustGamingNation 3x PvE [Events|Purge|Zombies|SkillTree] 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/9528547json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 110068,
"world_seed": 2023977390,
"world_size": 4000,
"steam_id": "90284513277051912",
"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://i.imgur.com/v502SmH.png)\n3x Gather • No Raiding • No Killing • Chill PVE\r\n \r\n Features:\r\n - Instant Craft\r\n - Sky & Water Bases\r\n - Raidable NPC Bases\r\n - Custom Build Sites\r\n - Recyclers At Monuments\r\n - Shop, Kits, Events, And More!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776424421,
"score": 0,
"last_online": 1776423620,
"icon": null,
"name": "RustGamingNation 3x PvE [Events|Purge|Zombies|SkillTree]",
"connect": "104.143.3.5:31015",
"request": "104.143.3.5:31017",
"map": "RustGamingNation Procedural",
"gamemode": "Survival",
"version": "2623",
"numplayers": 3,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 61,
"add_date": 1750538059,
"last_update": 1776424421,
"banned": false,
"wipe": 1775158216,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2021,
"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);