Rust N Time 5x Vanilla+ | Quads Small Map 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 97,
"fps_avg": 99,
"entities_count": 82148,
"world_seed": 1337,
"world_size": 3800,
"steam_id": "90286547331801108",
"domain": null,
"id": 3987408,
"ip": "15.204.131.158",
"port": 16055,
"query": 16056,
"color": 0,
"city": "Reston",
"description": "\nLast Wipe: May 7th|Full Wipe ~ Next Wipe: Thursday June 4th|Full Wipe\r\n\r\nModded, Accelerated Vanilla 5x Rust\r\n\r\nMonthly Map and BP Wipe | Max 4 to a group\r\n\r\nFor more information and rules join our Discord https://discord.gg/HNqUvKz \r\n\r\nBy clicking JOIN SERVER you hereby agree and will abide by our servers rules.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780472068,
"last_online": 1780549834,
"icon": null,
"name": "Rust N Time 5x Vanilla+ | Quads Small Map",
"connect": "15.204.131.158:16055",
"request": "15.204.131.158:16056",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1714242169,
"last_update": 1780549834,
"banned": false,
"wipe": 1778553739,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2317,
"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/3987408");
$data = json_decode($json, true);
var_dump($data);