Azure Rust 2x | Vanilla+ | Shared BPs | Clans | Loot+ | Weekly 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 157,
"fps_avg": 194,
"entities_count": 43898,
"world_seed": 1337,
"world_size": 3000,
"steam_id": "90286304149589016",
"domain": null,
"id": 11639163,
"ip": "98.219.122.225",
"port": 30001,
"query": 30009,
"color": 0,
"city": "North Port",
"description": "\nWelcome to Azure Rust 2x.\r\n\r\nA US-based semi-vanilla server tuned for fast-paced PvP.\r\n\r\nFeatures:\r\n- US East Location\r\n- 2x Gather\r\n- 2x Loot\r\n- Shared Blueprints\r\n- Clans System\r\n- Custom Map\r\n- Weekly Wipe (Mondays)\r\n\r\nRules:\r\n1. No cheats or scripts ΓÇö perma ban.\r\n2. No hate speech or harassment.\r\n3. Group limit: 8.\r\n4. Admins do not play.\r\n\r\nDiscord: discord.gg/AzureRust",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780585421,
"last_online": 1779934823,
"icon": null,
"name": "Azure Rust 2x | Vanilla+ | Shared BPs | Clans | Loot+ | Weekly",
"connect": "98.219.122.225:30001",
"request": "98.219.122.225:30009",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 125,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779917955,
"last_update": 1780585421,
"banned": false,
"wipe": 1779933572,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12379,
"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/11639163");
$data = json_decode($json, true);
var_dump($data);