JAPAN Lobby Server 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 56,
"fps_avg": 59,
"entities_count": 4517,
"world_seed": 1337,
"world_size": 1000,
"steam_id": "90285701041809434",
"domain": null,
"id": 9745874,
"ip": "162.43.93.7",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Chiyoda City",
"description": "This server is a completely new lobby-style server that differs from standard RUST servers, allowing access to various RUST servers. You can also practice flying helicopters, building, and shooting, so please enjoy. Details are posted on signs within the server.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780623206,
"last_online": 1780257636,
"icon": null,
"name": "JAPAN Lobby Server",
"connect": "162.43.93.7:28015",
"request": "162.43.93.7:28016",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1752325060,
"last_update": 1780623206,
"banned": false,
"wipe": 1772873111,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10161,
"language": "ja",
"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/9745874");
$data = json_decode($json, true);
var_dump($data);