The Boys Rust Server | 2x | Vanilla+ | Oxide | QoL | Active Adm 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 213,
"fps_avg": 209,
"entities_count": 33633,
"world_seed": 1234567,
"world_size": 2500,
"steam_id": "90286619156721676",
"domain": null,
"id": 11645152,
"ip": "74.124.188.52",
"port": 28015,
"query": 28017,
"project_id": null,
"color": 0,
"city": "High Point",
"description": "\nTired of heavily modded servers that don't feel like Rust? The Boys Rust Server keeps things simple. Build your base, dominate monuments, raid your neighbors, and enjoy Rust the way it's meant to be playedΓÇöjust with less grind. Join The Boys and start your wipe today!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780731857,
"last_online": 1780729829,
"icon": null,
"name": "The Boys Rust Server | 2x | Vanilla+ | Oxide | QoL | Active Adm",
"connect": "74.124.188.52:28015",
"request": "74.124.188.52:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780177449,
"last_update": 1780731857,
"banned": false,
"wipe": 1780621138,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9651,
"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/11645152");
$data = json_decode($json, true);
var_dump($data);