Rust
API для Magic Rust #9 — Vanilla 2x | EU East | Baйп 11.05
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/753741json
{
"response": {
"fps": 48,
"fps_avg": 47,
"entities_count": 223900,
"world_seed": 1112022,
"world_size": 4250,
"steam_id": "90285615677978637",
"domain": null,
"id": 753741,
"ip": "185.207.214.23",
"port": 10000,
"query": 10010,
"color": 0,
"city": "Moscow",
"description": "![MAGIC RUST #9 [ NOLIMIT | VANILLA X2 | MONDAY ] Wipe 13.01](https://content.magicrust.ru/images/server/server_banner.png)\nЛимит игроков в команде: без лимита\r\n\r\nХарактеристики серверов:\r\n• Рейты добычи ресурсов x2\r\n• Скорость крафта x2\r\n\r\nВайп карты: каждый понедельник в 14:00\r\nВайп рецептов: каждые две недели, начиная с первого вайпа",
"game": 252490,
"owner": 100256,
"boosts": 1,
"last_offline": 1778494335,
"score": null,
"last_online": 1778544008,
"icon": null,
"name": "Magic Rust #9 — Vanilla 2x | EU East | Baйп 11.05",
"connect": "185.207.214.23:10000",
"request": "185.207.214.23:10010",
"map": "Baйп был 12ч нaзaд",
"gamemode": "VANILLA X2",
"version": "2625",
"numplayers": 149,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 132,
"add_date": 1676380545,
"last_update": 1778544008,
"banned": false,
"wipe": 1778494571,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 34,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "arturmagicow",
"avatar": "no.jpg",
"last_online": 1736968299
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/753741");
$data = json_decode($json, true);
var_dump($data);