Rust
#1 BroRust X5/X10|MAX 3|WIPE 18.04|TP|KIT|LOOT+|SHOP 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11189121json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 165369,
"world_seed": 11804,
"world_size": 3700,
"steam_id": 90284632057697280,
"domain": null,
"id": 11189121,
"ip": "109.248.4.162",
"port": 28015,
"query": 10000,
"color": 0,
"city": "Moscow",
"description": "\n✓ У нас нет лагов\r\n✓ Private AntiCheat\r\n✓ X5/X10 | MAX 3 | TP | WIPE 18.04 | CraftSystem | KIT | InstaCraft\r\n✓ Ресурсы X5/X10, Лут X2.5/X5, Карьер X5\r\n✓ Добавь в ник BroRust и получи /kit daily и 50 рублей бонуса!\r\n\r\n✓ Site: BroRust.com\r\n✓ Группа VK: vk.com/brorustsrv\r\n✓ Discord: Dc.BroRust.com\r\n✓ Telegram: t.me/brorust\r\nSteam: Steam.BroRust.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775959313,
"score": 1,
"last_online": 1776578413,
"icon": null,
"name": "#1 BroRust X5/X10|MAX 3|WIPE 18.04|TP|KIT|LOOT+|SHOP",
"connect": "109.248.4.162:28015",
"request": "109.248.4.162:10000",
"map": "BroRust Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 67,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1772699032,
"last_update": 1776578413,
"banned": false,
"wipe": 1776506311,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 368,
"language": "ru",
"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/11189121");
$data = json_decode($json, true);
var_dump($data);