Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/446282
json
{
"response": {
"fps": 46,
"fps_avg": 35,
"entities_count": 116980,
"world_seed": 254898766,
"world_size": 3800,
"id": 446282,
"ip": "64.40.8.179",
"port": 28059,
"query": 28056,
"color": 0,
"description": "\nWelcome to a friendly vanilla PVE based server \r\n - Next Wipe - September 4th \r\n - There are a few simple rules \r\n - NO Raiding \r\n - NO Killing other players \r\n - No stealing / griefing other players \r\n - No turrets or SAMS placed outside of your base until purge \r\n - Leave decaying bases alone \r\n - Important tips \r\n - Get a base built ASAP, including locking your door and Tool Cupboard \r\n - Upgrade your base ASAP, twig is NOT secure \r\n *** Feel free to join our discord - https://discord.gg/EZ5eAgx",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1754594149,
"score": null,
"last_online": 1755696637,
"icon": null,
"name": "Rust Beginner - PVE Only - 25% Decay",
"connect": "64.40.8.179:28059",
"request": "64.40.8.179:28056",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2594",
"numplayers": 6,
"maxplayers": 160,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1630779749,
"last_update": 1755696637,
"banned": false,
"wipe": 1754594767,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": 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/446282");
$data = json_decode($json, true);
var_dump($data);