Rust
API для BroinRust [MAIN CLASSIC EU/EA]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/763298json
{
"response": {
"fps": 65,
"fps_avg": 65,
"entities_count": 112439,
"world_seed": 7052026,
"world_size": 4250,
"steam_id": "90285693311056923",
"domain": null,
"id": 763298,
"ip": "37.79.216.96",
"port": 10000,
"query": 10001,
"color": 0,
"city": "Sukhoy Log",
"description": "![BroinRust [MAIN CLASSIC EU/EA]](http://s019.radikal.ru/i622/1607/51/a7e42df64f44.png)\nRu: Это классический сервер. Система защиты от читеров! Задержка в очереди до 5 минут!\nКарта: Procedural\nРазмер: 4500\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: 4500\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": 1778714419,
"icon": null,
"name": "BroinRust [MAIN CLASSIC EU/EA]",
"connect": "37.79.216.96:10000",
"request": "37.79.216.96:10001",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1680789944,
"last_update": 1778714419,
"banned": false,
"wipe": 1778177966,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2588,
"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/763298");
$data = json_decode($json, true);
var_dump($data);