Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/3090382
json
{
"response": {
"id": 3090382,
"ip": "135.148.136.46",
"port": 27026,
"query": 27026,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1745007263,
"score": null,
"last_online": 1744410863,
"icon": null,
"name": "A Beautiful Potato | PNW 2.0 Winter",
"connect": "135.148.136.46:3302",
"request": "135.148.136.46:27026",
"map": "PNW",
"gamemode": "Join the Discord at http://Discord.BeautifulPotato.com",
"version": null,
"numplayers": 0,
"maxplayers": 70,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1708879447,
"last_update": 1745007263,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/3090382");
$data = json_decode($json, true);
var_dump($data);