Rust
API для GAMERUST [CLASSIC || NO LIMIT || РОССИЯ]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10522939json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10522939,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"wnkws2ucp\",\"type\":\"image\",\"data\":{\"caption\":\"GAMERUST |CLASSIC|| X1 || NO LIMIT|\",\"withBorder\":false,\"withBackground\":false,\"stretched\":true,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/142b031e-c811-4ee7-872a-a7c2b5ea211f.jpg\"}}},{\"id\":\"rl7sxkmgs\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер GAMERUST [ CLASSIC || X1 || NO LIMIT ] :\\n\\n>Полная классика\\n\\n>Без доната\\n>Без ограничений в команде\\n>Проработанная сбалансированная карта \\n>ВАЙП КАРТЫ КАЖДЫЙ ЧЕТВЕРГ В 21:00 ПО МСК\\n\\n>ВАЙП ИЗУЧЕНИЙ КАЖДЫЙ ВТОРОЙ ЧЕТВЕРГ В 21:00 ПО МСК\"}}]",
"game": 252490,
"owner": 122597,
"boosts": 1,
"last_offline": 1773036092,
"score": 0,
"last_online": 1772167210,
"icon": null,
"name": "GAMERUST [CLASSIC || NO LIMIT || РОССИЯ]",
"connect": null,
"request": null,
"map": "Procedural map",
"gamemode": "Vanilla",
"version": null,
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1761639205,
"last_update": 1773036092,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7596,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "gamerustserver",
"avatar": "no.jpg",
"last_online": 1763699805
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10522939");
$data = json_decode($json, true);
var_dump($data);