Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6954917
json
{
"response": {
"id": 6954917,
"ip": "135.148.103.107",
"port": 2302,
"query": 27016,
"color": 0,
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1757544349,
"score": 0,
"last_online": 1758598292,
"icon": null,
"name": "- 1.28 | DONTBESQUARE Chernarus (AI Bots + P2P Trader Market)",
"connect": "135.148.103.107:2302",
"request": "135.148.103.107:27016",
"map": "chernarusplus",
"gamemode": null,
"version": "1.28.160123",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1734698851,
"last_update": 1758598292,
"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/6954917");
$data = json_decode($json, true);
var_dump($data);