Rust
BroinRust [PVE CLASSIC EU/EA] 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/755749json
{
"response": {
"fps": 93,
"fps_avg": 99,
"entities_count": 135386,
"world_seed": 9052026,
"world_size": 4250,
"steam_id": "90285723792718875",
"domain": null,
"id": 755749,
"ip": "37.79.216.96",
"port": 30000,
"query": 30001,
"color": 0,
"city": "Sukhoy Log",
"description": "![BroinRust [PVE CLASSIC EU/EA]](http://s019.radikal.ru/i622/1607/51/a7e42df64f44.png)\nRu: Это мирный классический сервер, с модификацией для комфортной игры. Система защиты от читеров! Задержка в очереди до 5 минут!\nКарта: Procedural\nРазмер: 4500\n\nРестарт сервера каждый день в 10:00 МСК\nСмена карт и сброс чертежей: каждый месяц.\n\nEn: This is a peaceful classic server, with a modification for a comfortable game. Protection system against cheaters! Queue delay is up to 5 minutes!\nCard: Procedural\nSize: 4500\n\nServer start every day at 10:00 Moscow time\nChanging maps and resetting drawings: every month.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778715178,
"score": null,
"last_online": 1778718621,
"icon": null,
"name": "BroinRust [PVE CLASSIC EU/EA]",
"connect": "37.79.216.96:30000",
"request": "37.79.216.96:30001",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 2,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1677863666,
"last_update": 1778718621,
"banned": false,
"wipe": 1778177802,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2438,
"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/755749");
$data = json_decode($json, true);
var_dump($data);