Rust
API для BroinRust [SMALL CLASSIC EU/EA]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/762129json
{
"response": {
"fps": 75,
"fps_avg": 74,
"entities_count": 73063,
"world_seed": 8052026,
"world_size": 3500,
"steam_id": "90285693309602843",
"domain": null,
"id": 762129,
"ip": "37.79.216.96",
"port": 20000,
"query": 20001,
"color": 0,
"city": "Sukhoy Log",
"description": "![BroinRust [SMALL CLASSIC EU/EA]](http://s019.radikal.ru/i622/1607/51/a7e42df64f44.png)\nRu: Это классический сервер. Система защиты от читеров! Задержка в очереди до 5 минут!\nКарта: Procedural\nРазмер: 3500\n\nРестарт сервера каждый день в 10:00 МСК\nСмена карт и сброс чертежей: каждый месяц.\n\nEn: This is a classic server. The system of protection against cheaters! Queue delay is up to 5 minutes!\nCard: Procedural\nSize: 3500\n\nServer start every day at 10:00 Moscow time\nChanging maps and resetting drawings: every month.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778655780,
"score": null,
"last_online": 1778714423,
"icon": null,
"name": "BroinRust [SMALL CLASSIC EU/EA]",
"connect": "37.79.216.96:20000",
"request": "37.79.216.96:20001",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 2,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1680785724,
"last_update": 1778714423,
"banned": false,
"wipe": 1778177691,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2576,
"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/762129");
$data = json_decode($json, true);
var_dump($data);