Rust
[EU] LibreGaming PVE 5x|Kits|Bases|Heli|Bradley|Convoys|Quests 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10470386json
{
"response": {
"modded": true,
"fps": 95,
"fps_avg": 85,
"entities_count": 120029,
"world_seed": 500040207,
"world_size": 4500,
"steam_id": "90284822607136781",
"domain": null,
"id": 10470386,
"ip": "193.11.163.200",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Skövde",
"description": "![[EU] LibreGaming PVE 5x|Kits|Bases|Heli|Bradley|Convoys|Quests](https://iili.io/KkE9qYX.jpg)\n[EU] LibreGaming PVE 5x | Kits | Raidable Bases | Heli Signals | Bradley Drops | Convoys | Quests | Skill Tree | NPCs | Shop\r\nRocket HMLMG can be found in the top two difficulties of Raidable Bases, Heli Signals, Bradley Drops & Convoys\r\nThis is a PVE server\r\nDon't be a menace\r\nType /info in chat for more\r\nBPs are wiped only when forced by Facepunch\r\nThe server wipes every Thursday at 19:30 UTC",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776880396,
"score": 0,
"last_online": 1776880950,
"icon": null,
"name": "[EU] LibreGaming PVE 5x|Kits|Bases|Heli|Bradley|Convoys|Quests",
"connect": "193.11.163.200:28015",
"request": "193.11.163.200:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 1,
"add_date": 1760511016,
"last_update": 1776880950,
"banned": false,
"wipe": 1776880630,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7710,
"language": "sv",
"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/10470386");
$data = json_decode($json, true);
var_dump($data);