Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/443779
json
{
"response": {
"fps": 28,
"fps_avg": 27,
"world_seed": 37677,
"world_size": 4000,
"entities_count": 285438,
"id": 443779,
"ip": "208.103.169.85",
"port": 28010,
"query": 28015,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "\nWipe Schedule:\r\n\\tMap - Weekly on Mondays @ 3PM EST, or when force updates occur.\r\n\\tBPs - Never\r\n\r\nVIP: donate.rustoria.co\r\n\r\nRules:\r\n\\t- No hacking / scripting\r\n\\t- No intentional bug abuse\r\n\\t- No EAC / FP banned alts\r\n\\t- No ban evading\r\n\\t- No racism\r\n\r\nGood performance\r\nActive non playing admins\r\nSeeds are carefully picked\r\n\r\nDiscord: rustoria.co/discord\r\nFull rules: rustoria.co/vanilla/rules",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1741288688,
"score": null,
"last_online": 1746056429,
"icon": null,
"name": "Rustoria.co - US Mondays",
"connect": "208.103.169.85:28010",
"request": "208.103.169.85:28015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2585",
"numplayers": 341,
"maxplayers": 375,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 94,
"add_date": 1630779670,
"last_update": 1746056429,
"banned": false,
"wipe": 1745867097,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/443779");
$data = json_decode($json, true);
var_dump($data);