RUST BULGARIA NETWORK 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 103341,
"world_seed": 1337,
"world_size": 4096,
"steam_id": "90286914705289242",
"domain": null,
"id": 9066437,
"ip": "45.144.155.85",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Plovdiv",
"description": "\nWelcome to Rust Bulgaria Network 2x!\r\n\r\nWARNING\r\n☐ Rust is a tough game and you have to survive as you see fit.\r\n☐ If something it's not forbidden, then it's allowed.\r\n☐ Only the strongest players will survive here.\r\n☐ This is a mature game and the chat is unmoderated.\r\n☐ Cheating will result in a permanent BAN!\r\n\r\nINFORMATION\r\n☐ Full Monthly Wipes\r\n☐ Unique QOL Changes\r\n☐ Active Administrator\r\n☐ Anti Offline Raiding\r\n\r\nGood Luck!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781255035,
"last_online": 1781337026,
"icon": null,
"name": "RUST BULGARIA NETWORK",
"connect": "45.144.155.85:28015",
"request": "45.144.155.85:28016",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 69,
"bots": 0,
"secured": true,
"private": false,
"country": "BG",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1747040112,
"last_update": 1781337026,
"banned": false,
"wipe": 1781038981,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3477,
"language": "bg",
"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/9066437");
$data = json_decode($json, true);
var_dump($data);