[EU/NL] BeNeLux 2x | Bi-weekly | 50% Upkeep | Map: 2700 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 31599,
"world_seed": 1337,
"world_size": 2500,
"steam_id": "90285980805817355",
"domain": null,
"id": 11159128,
"ip": "194.69.160.97",
"port": 28015,
"query": 28017,
"color": 0,
"city": "City of London",
"description": "![[EU/NL] BeNeLux 2x | Bi-weekly | 50% Upkeep | Map: 2700](https://fs.benelux.gg/rust/banner.png)\nBenelux Rust -Bringing Dutch Gameplay Back! \r\n\r\nBi-weekly Wipe – Thursday at 6PM CEST \r\n2x resources | 2x stack size | 2x smelting speed | 2x crafting speed \r\nMinicopters on roads \r\nFaster nights for more action \r\nEU-based – Low ping, smooth gameplay \r\nNo pay-to-win – Fair and balanced experience \r\nActive admins – No cheaters, no nonsense \r\n\r\nJoin now and be part of the ultimate Benelux Rust community!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778740379,
"last_online": 1779260420,
"icon": null,
"name": "[EU/NL] BeNeLux 2x | Bi-weekly | 50% Upkeep | Map: 2700",
"connect": "194.69.160.97:28015",
"request": "194.69.160.97:28017",
"map": "Benelux Maps",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772228123,
"last_update": 1779260420,
"banned": false,
"wipe": 1778177988,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4116,
"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/11159128");
$data = json_decode($json, true);
var_dump($data);