Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4758588
json
{
"response": {
"id": 4758588,
"ip": "117.72.78.218",
"port": 2303,
"query": 2303,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1746017880,
"score": 0,
"last_online": 1746146547,
"icon": null,
"name": "北大西洋公约组织#1斩首行动(RHS+CUP)Q群:740745936",
"connect": "117.72.78.218:2302",
"request": "117.72.78.218:2303",
"map": "Chernarus_summer",
"gamemode": "斩首行动2.1:黑俄罗斯夏",
"version": "2.18.152272",
"numplayers": 0,
"maxplayers": 15,
"bots": 0,
"secured": false,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1718085488,
"last_update": 1746146547,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/4758588");
$data = json_decode($json, true);
var_dump($data);