Rust
[SEA] The Den Beginners PVE 2X|Solo/Duo 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11261288json
{
"response": {
"fps": 61,
"fps_avg": 57,
"entities_count": 109138,
"world_seed": 1987832637,
"world_size": 3700,
"steam_id": 90284868018141200,
"domain": null,
"id": 11261288,
"ip": "116.89.111.196",
"port": 28115,
"query": 28117,
"color": 0,
"city": "Singapore",
"description": "![[SEA] The Den Beginners PVE 2X|Solo/Duo](https://i.imgur.com/x9ijZDC.jpeg)\n[Server Info]\r\nPVE server with scheduled PVP and Raid events.\r\nCustom Map - All Monuments.\r\nJoin Discord - dc.thedenservers.com\r\n\r\n[Rules]\r\n1. Respect fellow players.\r\n2. Be chill and a sport. Play on PVE-Only servers if you can't take the hit.\r\n3. No toxicity, trolling, bullying, sexism or racism.\r\n4. No disrespecting of others' religion.\r\n5. No cheating, glitching, scripting or hacking of any kind.\r\n\r\nHave fun!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776366818,
"score": 0,
"last_online": 1777018816,
"icon": null,
"name": "[SEA] The Den Beginners PVE 2X|Solo/Duo",
"connect": "116.89.111.196:28115",
"request": "116.89.111.196:28117",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 5,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1774555232,
"last_update": 1777018816,
"banned": false,
"wipe": 1776366751,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1055,
"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/11261288");
$data = json_decode($json, true);
var_dump($data);