Rust
[NL/EU] Dutch Empire 5x survive the events | Skinbox/Events | 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10978591json
{
"response": {
"fps": 66,
"fps_avg": 63,
"entities_count": 122513,
"world_seed": 17762077,
"world_size": 4500,
"steam_id": "90284716157760529",
"domain": null,
"id": 10978591,
"ip": "164.152.123.234",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Amsterdam",
"description": "![[NL/EU] Dutch Empire 5x survive the events | Skinbox/Events | ](https://www.dropbox.com/scl/fi/hsquvaasst6me5msgwwtx/Photo-1582564129660.jpg?rlkey=03xxcb3ngv1hd1u4yl1bc90af&st=h9ngctcm&dl=1)\nWelcome to Dutch Empire\r\nEnjoy your stay and survive the events!\r\n\r\n--- PLUGINS ---\r\n* Autodoors & Autolock\r\n* Skinbox (Free for all)\r\n* Rustanic\r\n* Barrel Event\r\n* Heli Refuel\r\n* Supermarket Event\r\n* Automated Events\r\n* Dangerous Treasures\r\n* Plane Crash\r\n* Train Events",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775579976,
"score": 0,
"last_online": 1776840622,
"icon": null,
"name": "[NL/EU] Dutch Empire 5x survive the events | Skinbox/Events |",
"connect": "164.152.123.234:28015",
"request": "164.152.123.234:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2622",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769900984,
"last_update": 1776840622,
"banned": false,
"wipe": 1772747501,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4389,
"language": "nl",
"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/10978591");
$data = json_decode($json, true);
var_dump($data);