Rust
[EU/GER] Rust Norddeutschland PVE 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/5615824json
{
"response": {
"fps": 45,
"fps_avg": 46,
"entities_count": 183350,
"world_seed": 5563587,
"world_size": 4500,
"steam_id": "90284723991435288",
"domain": null,
"id": 5615824,
"ip": "136.243.135.46",
"port": 28035,
"query": 28036,
"color": 0,
"city": "Falkenstein",
"description": "![[EU/GER] Rust Norddeutschland PVE](https://file2.hpage.com/014290/34/bilder/ship1.png)\nOnly PVE!!! PVP and raiden forbidden!\r\n Full BP and Map-Wipe on 1st and 3rd Thursday each Month @ Rust Patch Time\r\n Last Full-Wipe @ 16.04.\r\n Next Full-Wipe @ 26.04.\r\n Half upkeep\r\n Map Size 4500\r\n Radiation on/ Zombies on\r\n No Cheats/ no Bans/ no Family shared Accounts\r\n Be friendly and have fun",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776489200,
"score": 0,
"last_online": 1776812557,
"icon": null,
"name": "[EU/GER] Rust Norddeutschland PVE",
"connect": "136.243.135.46:28035",
"request": "136.243.135.46:28036",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 6,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1723692743,
"last_update": 1776812557,
"banned": false,
"wipe": 1776363223,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1168,
"language": "de",
"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/5615824");
$data = json_decode($json, true);
var_dump($data);