Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/467044
json
{
"response": {
"id": 467044,
"ip": "185.189.255.141",
"port": 2302,
"query": 2305,
"color": 0,
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1756200307,
"score": null,
"last_online": 1756378260,
"icon": null,
"name": "Атмосфера PVE-Frostline лучшие моды | RU",
"connect": "185.189.255.141:2302",
"request": "185.189.255.141:2305",
"map": "sakhal",
"gamemode": null,
"version": "1.28.160123",
"numplayers": 3,
"maxplayers": 45,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1630828165,
"last_update": 1756378260,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": 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/467044");
$data = json_decode($json, true);
var_dump($data);