Rust
EU/DK | Velocity | x100 | NOBPs 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11260206json
{
"response": {
"fps": 164,
"fps_avg": 188,
"entities_count": 53219,
"world_seed": 50000,
"world_size": 3000,
"steam_id": 90285278184004620,
"domain": null,
"id": 11260206,
"ip": "157.85.95.148",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Frankfurt am Main",
"description": "Hosted by Shockbyte\r\nWelcome to Velocity NoBP x100! 🚀 The ultimate high-speed Rust experience. \r\n⚡ SERVER FEATURES: Rates: x100 Gather & Loot Blueprints: Everything UNLOCKED / Alt er låst op (No BPs)\r\nCrafting: Instant Crafting\r\nTeleport: Fast TPR and Home system\r\n🛡️ RULES / REGLER: [EN] English & Danish in global chat. / [DK] Engelsk og Dansk i global chat. [EN] No cheating, scripting or exploiting. / [DK] Ingen snyd eller exploits.\r\n[EN] Max Team Size: [4]. / [DK] Max Gruppe Størrelse: [4].\r\n[EN] Be respectful. No toxicity. / [DK] Vis respekt. Ingen toxic opførsel.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775161932,
"score": 0,
"last_online": 1778352624,
"icon": null,
"name": "EU/DK | Velocity | x100 | NOBPs",
"connect": "157.85.95.148:28015",
"request": "157.85.95.148:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555189,
"last_update": 1778352624,
"banned": false,
"wipe": 1775162006,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4465,
"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/11260206");
$data = json_decode($json, true);
var_dump($data);