Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4886549
json
{
"response": {
"id": 4886549,
"ip": "5.252.101.160",
"port": 27016,
"query": 27016,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1743185881,
"score": 0,
"last_online": 1743851476,
"icon": null,
"name": "LOADED - Solo/Duo/Trio | Balanced Mods | dayzloaded.gg",
"connect": "5.252.101.160:2302",
"request": "5.252.101.160:27016",
"map": "chernarusplus",
"gamemode": null,
"version": "1.27.159674",
"numplayers": 51,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 52,
"add_date": 1719421530,
"last_update": 1743851476,
"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/4886549");
$data = json_decode($json, true);
var_dump($data);