Rust
API для PVE BroGames 7.05.26
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/3381196json
{
"response": {
"fps": 55,
"fps_avg": 92,
"entities_count": 115304,
"world_seed": 1254091141,
"world_size": 4250,
"steam_id": "90285706475514883",
"domain": null,
"id": 3381196,
"ip": "185.189.255.36",
"port": 35000,
"query": 35010,
"color": 0,
"city": "Moscow",
"description": "\nДобро пожаловать на сервер BroGames!\r\n-Ваши вещи при смерти не выпадают с рюкзака/инвентаря\r\n-Система прокачки скиллов персонажа\r\n-Крафт одежды с улучшеной защитой и оружия с высоким уроном \r\n-Виртуальные карьеры\r\n-Боссы различной сложности\r\n-Конвой \r\n-Бронепоезд \r\n-Рейдбазы, с шансом, что НПС придут вам мстить!!!\r\n Подключайся, мы Вас ждем!!!!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778680981,
"score": null,
"last_online": 1778715020,
"icon": null,
"name": "PVE BroGames 7.05.26",
"connect": "185.189.255.36:35000",
"request": "185.189.255.36:35010",
"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": 1710334281,
"last_update": 1778715020,
"banned": false,
"wipe": 1778181128,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2747,
"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/3381196");
$data = json_decode($json, true);
var_dump($data);