Rust
API для LEGACY RUST X2| SOLO/DUO/TRIO ВСЕ | ВАЙП 22.04
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11489735json
{
"response": {
"fps": 372,
"fps_avg": 373,
"entities_count": 42884,
"world_seed": 23825623,
"world_size": 3000,
"steam_id": "90284734780754972",
"domain": null,
"id": 11489735,
"ip": "185.207.214.198",
"port": 35000,
"query": 35010,
"color": 0,
"city": "Moscow",
"description": "\nСервер Для Новичков.\r\nДоступные ПАТИ - 50 игроков.\r\nСервер - Еженедельный \r\nWIPE (Вайп ) СРЕДУ в 15:00 Мск.\r\nЗапланированный рестарт 2 раза в день.\r\nСайт сервера - https://rustylegacy.gamestores.app/\r\nСвязь - https://vk.com/rustlegacyx",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776781433,
"score": 0,
"last_online": 1776793230,
"icon": null,
"name": "LEGACY RUST X2| SOLO/DUO/TRIO ВСЕ | ВАЙП 22.04",
"connect": "185.207.214.198:35000",
"request": "185.207.214.198:35010",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1776781433,
"last_update": 1776793230,
"banned": false,
"wipe": 1776770255,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5450,
"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/11489735");
$data = json_decode($json, true);
var_dump($data);