Rust
RustGalaxy Nexus Japan 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10571474json
{
"response": {
"fps": 59,
"fps_avg": 58,
"entities_count": 111176,
"world_seed": 1095649200,
"world_size": 4250,
"steam_id": "90285634723726364",
"domain": null,
"id": 10571474,
"ip": "93.118.41.31",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Shibuya City",
"description": "\nRustGalaxy: The Original Nexus Network! Dial any of our 17 global servers via the Outpost telephone and seamlessly transfer with your inventory. Facepunch promised it, we delivered. No lag, no cheaters. Just pure survival across continents.\r\n\r\nMonthly map and blueprint wipes.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778531612,
"score": 0,
"last_online": 1778591415,
"icon": null,
"name": "RustGalaxy Nexus Japan",
"connect": "93.118.41.31:28015",
"request": "93.118.41.31:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 11,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 69,
"add_date": 1762847085,
"last_update": 1778591415,
"banned": false,
"wipe": 1778176529,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 773,
"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/10571474");
$data = json_decode($json, true);
var_dump($data);