ClubRetro-| SOLO/DUO/TRIO | SEASONAL THEMES | 6/4 WIPE | Dungeo 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 177,
"fps_avg": 163,
"entities_count": 72751,
"world_seed": 1485588084,
"world_size": 3750,
"steam_id": "90286609475398678",
"domain": null,
"id": 11502620,
"ip": "104.128.50.77",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Chicago",
"description": "Welcome to our Vanillaish mashup server. Each force wipe brings a seasonal theme check discord for details! Extended Workbench Range, 50% TC Upkeep, Offline Raid Protection, Junk loot removed and Improved loot tables. Raidable bases, Roaming NPC's and some PVE events for some added fun! Great for people just getting into rust and wanting to learn how to play. Updating and improving server play daily",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780602268,
"last_online": 1780610428,
"icon": null,
"name": "ClubRetro-| SOLO/DUO/TRIO | SEASONAL THEMES | 6/4 WIPE | Dungeo",
"connect": "104.128.50.77:28015",
"request": "104.128.50.77:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2627",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779207206,
"last_update": 1780610428,
"banned": false,
"wipe": 1780602303,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2539,
"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/11502620");
$data = json_decode($json, true);
var_dump($data);