Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1328005
json
{
"response": {
"id": 1328005,
"ip": "51.195.68.16",
"port": 2302,
"query": 2303,
"color": 0,
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1758957779,
"score": null,
"last_online": 1760112618,
"icon": null,
"name": "CodeFourGaming - King of the Hill EU#5 - Infantry",
"connect": "51.195.68.16:2302",
"request": "51.195.68.16:2303",
"map": "Altis",
"gamemode": "King of the Hill by Sa-Matra (v17, Infantry)",
"version": "2.20.153169",
"numplayers": 87,
"maxplayers": 115,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 82,
"add_date": 1692956331,
"last_update": 1760112618,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": 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/1328005");
$data = json_decode($json, true);
var_dump($data);