Rust N Time 3x Vanilla+ | Solo Only 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 122,
"fps_avg": 119,
"entities_count": 73548,
"world_seed": 1337,
"world_size": 3600,
"steam_id": "90286620065709076",
"domain": null,
"id": 3987396,
"ip": "15.204.131.158",
"port": 16033,
"query": 16034,
"color": 0,
"city": "Reston",
"description": "\nLast Wipe: June 4th|Full Wipe ~ Next Wipe: Thursday July 2nd|Full Wipe\r\n\r\nModded, Accelerated Vanilla 3x Rust\r\n\r\nWeekly Map Wipe and Monthly BP Wipe | Solo Only\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": 1780644862,
"last_online": 1780644026,
"icon": null,
"name": "Rust N Time 3x Vanilla+ | Solo Only",
"connect": "15.204.131.158:16033",
"request": "15.204.131.158:16034",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1714242167,
"last_update": 1780644862,
"banned": false,
"wipe": 1780635636,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9536,
"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/3987396");
$data = json_decode($json, true);
var_dump($data);