Rust
[RC] Chronic 2x Solo/Duo~Monthly~RaidProtection~No BP Wipe [US] 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/3298531json
{
"response": {
"fps": 86,
"fps_avg": 90,
"entities_count": 103945,
"world_seed": 1,
"world_size": 4000,
"steam_id": "90285650971502618",
"domain": null,
"id": 3298531,
"ip": "216.39.240.26",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Ashburn",
"description": "![[RC] Chronic 2x Solo/Duo~Monthly~RaidProtection~No BP Wipe [US]](https://www.dropbox.com/scl/fi/dqnwq000dzzsc6g74s7we/RustCronic_serverheader.png?rlkey=50d8n263r54f6sjaafkix1h9f&dl=1)\nWelcome to RustChronic PVP! \r\n -Solo/Duo \r\n -2x Gather, 2x Scrap \r\n -Scrap based Raid Protection \r\n -Monthly Wipes \r\n -No BP Wipes \r\n -BGrade, and Up Commands \r\n -Increased Stack Sizes \r\n -Backpacks \r\n -Extensive Skinbox library \r\n -Starter, Build, and Farming Kits \r\n -Armored Train Event, Airfield Event \r\n -Harbor and Satellite Dish Event \r\n -Jet and Sputnik Event \r\n -4 Levels of Convoy Event \r\n -Rp, Shop, Vote Rewards \r\n -Active Admins \r\n \r\n Bonus permissions for linking Steam and Discord accounts at rcservers.promeus.link \r\n Come join us and help build the ultimate PVP server! \r\n \r\n Website: www.RC-Servers.com \r\n \r\n Discord: https://discord.gg/KmFxfqDcaM",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777913013,
"score": null,
"last_online": 1778650818,
"icon": null,
"name": "[RC] Chronic 2x Solo/Duo~Monthly~RaidProtection~No BP Wipe [US]",
"connect": "216.39.240.26:28015",
"request": "216.39.240.26:28017",
"map": "RC-Servers.com",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1709856384,
"last_update": 1778650818,
"banned": false,
"wipe": 1778190946,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2469,
"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/3298531");
$data = json_decode($json, true);
var_dump($data);