Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/450174
json
{
"response": {
"fps": 32,
"fps_avg": 30,
"entities_count": 177558,
"world_seed": 1337,
"world_size": 4500,
"id": 450174,
"ip": "104.129.133.63",
"port": 28059,
"query": 28056,
"color": 0,
"description": "\nDEN PvE � Safe, Creative, Chill No raiding. No PvP. Just Rust the way you want it � relaxed, community-driven, and full of possibility. What You�ll Find: No PvP or raiding � full protection for all players, Weekly quests, events & exploration-based gameplay,Custom build tools, QoL plugins & kits,Monthly wipes for smooth performance, Custom PvE events � raid bases, treasure hunts, Friendly, inclusive community with active staff.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1755053289,
"score": null,
"last_online": 1755692455,
"icon": null,
"name": "Wolverns Den",
"connect": "104.129.133.63:28059",
"request": "104.129.133.63:28056",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2594",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1630779858,
"last_update": 1755692455,
"banned": false,
"wipe": 1754590151,
"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/450174");
$data = json_decode($json, true);
var_dump($data);