Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/2349634
json
{
"response": {
"id": 2349634,
"ip": "162.33.28.17",
"port": 2316,
"query": 2316,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1744072762,
"score": null,
"last_online": 1744137259,
"icon": null,
"name": "Rat Hideout",
"connect": "162.33.28.17:2315",
"request": "162.33.28.17:2316",
"map": null,
"gamemode": "Waiting",
"version": "2.18.152405",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": true,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1703867205,
"last_update": 1744137259,
"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/2349634");
$data = json_decode($json, true);
var_dump($data);