Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/988208
json
{
"response": {
"id": 988208,
"ip": "192.169.89.18",
"port": 8772,
"query": 26662,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 686810,
"owner": null,
"boosts": 1,
"last_offline": 1741019664,
"score": null,
"last_online": 1746814238,
"icon": null,
"name": "Garrisons & Whiskey Ξ Lvl +50 Only",
"connect": "192.169.89.18:8772",
"request": "192.169.89.18:26662",
"map": "StMarie",
"gamemode": "Hell Let Loose",
"version": "0.1.1.0",
"numplayers": 98,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 103,
"add_date": 1684955792,
"last_update": 1746814238,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 51409,
"steam_id": 686810,
"name": "Hell Let Loose",
"url": "hell-let-loose",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/988208");
$data = json_decode($json, true);
var_dump($data);