Rust
API для RUSTROCK #2 [DV] | x1.5->x2 | Biweekly | Wipe 17.01
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10871104json
{
"response": {
"fps": 217,
"fps_avg": 217,
"entities_count": 97349,
"world_seed": 31048,
"world_size": 4000,
"steam_id": "90284676860153859",
"domain": null,
"id": 10871104,
"ip": "77.34.75.82",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Ussuriysk",
"description": "RUSTROCK [DV] | Лучший пинг для Дальнего Востока\r\n--------------------------------------------------\r\n★ УНИКАЛЬНАЯ МЕХАНИКА:\r\nДинамические рейты: День x1.5 -> Ночь x2\r\nБонусы за онлайн каждый час\r\n\r\n★ ОСОБЕННОСТИ:\r\n• Ивенты • Миссии • NPC\r\n• Стабильный FPS • Без лагов (Хост: Владивосток)\r\n\r\n★ РАСПИСАНИЕ (Время: ВЛД / МСК):\r\nВайп: Пятница 21:00 ВЛД (14:00 МСК)\r\nРестарт: Ежедневно 10:00 ВЛД (03:00 МСК)\r\n\r\n★ КОНТАКТЫ:\r\nDiscord: discord.gg/hBc3uSErGJ\r\nTelegram: t.me/rustrockofficial\r\n--------------------------------------------------\r\nСервер для Запада: RUSTROCK [RU]",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776079312,
"score": 0,
"last_online": 1776721221,
"icon": null,
"name": "RUSTROCK #2 [DV] | x1.5->x2 | Biweekly | Wipe 17.01",
"connect": "77.34.75.82:28015",
"request": "77.34.75.82:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2617",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768318517,
"last_update": 1776721221,
"banned": false,
"wipe": 1775819263,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4364,
"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/10871104");
$data = json_decode($json, true);
var_dump($data);