Rust
API для [RU] Moscow PvE/PvP | x2 + Skills | RaidBases | Events | Zombie
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11488553json
{
"response": {
"fps": 82,
"fps_avg": 83,
"entities_count": 69336,
"world_seed": 12345,
"world_size": 3000,
"steam_id": "90285101740473364",
"domain": null,
"id": 11488553,
"ip": "212.74.249.164",
"port": 21580,
"query": 21581,
"color": 1,
"city": "Moscow",
"description": "[{\"id\":\"5xWTV85a85\",\"type\":\"image\",\"data\":{\"caption\":\"МОСКОВСКИЙ РУССКИЙ PVE TSARVAR158877\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/4eefb7e5-ef08-4b44-a8cc-d0311caaf2f1.png\"}}},{\"id\":\"RFGlFMab12\",\"type\":\"paragraph\",\"data\":{\"text\":\"⚡ Присоединяйся к мирному серверу проекта RUST.МОСКВА [PvE].\\nТебя ждут захватывающие ивенты, зомби, более 200 баз для рейда разной сложности, а также ежедневные бонусы. Ждём тебя на 212.74.249.164:21580.\\nНаш сайт: rust.moscow\"}}]",
"game": 252490,
"owner": 186319,
"boosts": 1,
"last_offline": 1776953596,
"score": 0,
"last_online": 1777500012,
"icon": null,
"name": "[RU] Moscow PvE/PvP | x2 + Skills | RaidBases | Events | Zombie",
"connect": "212.74.249.164:21580",
"request": "212.74.249.164:21581",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 91,
"add_date": 1775585558,
"last_update": 1777500012,
"banned": false,
"wipe": 1775156412,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 219,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "staaas_rf",
"avatar": "no.jpg",
"last_online": 1776371787
},
"mods": [
{
"id": 1323,
"name": "Shop"
},
{
"id": 909,
"name": "InfoPanel"
},
{
"id": 644,
"name": "Convoy"
},
{
"id": 1139,
"name": "Oxide"
},
{
"id": 602,
"name": "Caravan"
},
{
"id": 1188,
"name": "Power Plant Event"
},
{
"id": 1204,
"name": "Pve Mode"
},
{
"id": 1492,
"name": "Vehicles"
}
],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11488553");
$data = json_decode($json, true);
var_dump($data);