API для RustHunter Combater [Ryzen9950x]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90285970371299347",
"domain": null,
"id": 11260847,
"ip": "46.181.239.168",
"port": 35000,
"query": 35001,
"color": 0,
"city": "Kemerovo",
"description": "![RustHunter Combater [Ryzen9950x]](https://wallpapers.com/images/file/rust-space-suit-v6909tftywztor6m.jpg)\nДобро пожаловать, на комбатный сервер Растхантер!\r\n > Размер карты 4000 Custom Jungle Retreat\r\n > Размер стака x1 Ресурсы x1 Рэйдовые базы 1300+\r\n > В основе сервера быстрый Ryzen9950X на 5,7GHz, 32Gb, SSD M2-Pci5\r\n > Единый магазин всех серверов https://nlh.gamestores.app\r\n > StartBonus, DaylyBonus\r\n > Потребление ресурсов домом снижено до 40%\r\n > Wipe отсутствует",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779228183,
"last_online": 1779256223,
"icon": null,
"name": "RustHunter Combater [Ryzen9950x]",
"connect": "46.181.239.168:35000",
"request": "46.181.239.168:35001",
"map": "Custom Map",
"gamemode": "Rust",
"version": "2625",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555209,
"last_update": 1779256223,
"banned": false,
"wipe": 1775156562,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4345,
"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/11260847");
$data = json_decode($json, true);
var_dump($data);