API для RustHunter Custom [Raid Base][SkillTree][Ryzen9]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 160,
"fps_avg": 159,
"entities_count": 126980,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90286604149353491",
"domain": null,
"id": 11645012,
"ip": "5.227.172.147",
"port": 29315,
"query": 29316,
"color": 0,
"city": "Novosibirsk",
"description": "![RustHunter Custom [Raid Base][SkillTree][Ryzen9]](https://wallpapers.com/images/file/rust-space-suit-v6909tftywztor6m.jpg)\nДобро пожаловать, Растхантер!\r\n > Кастомная карта: размер 4500\r\n > Размер стака x5-25 Ресурсы x1, Ежедневные подарки\r\n > Рэйдовые базы 1300+, Строительство в вагонах\r\n > Плагин BetterNpc,SkillTree+\r\n > В основе сервера быстрый Ryzen9 на 5GHz, 32Gb \r\n > Единый магазин всех серверов https://nlh.gamestores.app\r\n > StartBonus, OnlineBonus\r\n > Потребление ресурсов домом снижено до 40%\r\n > Wipe в первую пятницу месяца в 01:00 по МСК, чертежи раз в месяц",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595663,
"last_online": 1780606234,
"icon": null,
"name": "RustHunter Custom [Raid Base][SkillTree][Ryzen9]",
"connect": "5.227.172.147:29315",
"request": "5.227.172.147:29316",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177442,
"last_update": 1780606234,
"banned": false,
"wipe": 1780595971,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5400,
"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.ru/servers/11645012");
$data = json_decode($json, true);
var_dump($data);