Rust
WEREWOLF GAMING.CO 5x Solo/Duo LARGE |Loot X5|TP|Homes|Kits 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/5446409json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 159585,
"steam_id": "90284317417161734",
"domain": null,
"id": 5446409,
"ip": "205.178.168.204",
"port": 28011,
"query": 28016,
"color": 0,
"city": "London",
"description": "\n ▶The Professionals of Modded Rust◀\r\nWerewolf Gaming.co 5x Duo LARGE\r\n▶Max Group: 2\r\n▶5x Gather Rates|5x Crafting Speed|5x Components\r\n▶FREE Skinbox\r\n▶LARGE High Performance Custom Maps\r\n▶Active Staff 24/7|Anti-Cheat/Teaming\r\n▶Custom Improved Loot Tables\r\n▶BP Clan Sharing\r\n▶TP & Home\r\n▶Automatic Auth Share|TC|Code Lock|AutoTurret\r\n▶Increased stack size",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775778122,
"score": 0,
"last_online": 1776295212,
"icon": null,
"name": "WEREWOLF GAMING.CO 5x Solo/Duo LARGE |Loot X5|TP|Homes|Kits",
"connect": "205.178.168.204:28011",
"request": "205.178.168.204:28016",
"map": "Server WIPED 2 DAYS AGO",
"gamemode": "Survival",
"version": "2623",
"numplayers": 24,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1722723350,
"last_update": 1776295212,
"banned": false,
"wipe": 1776085010,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 751,
"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/5446409");
$data = json_decode($json, true);
var_dump($data);