Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/838435
json
{
"response": {
"id": 838435,
"ip": "185.239.211.56",
"port": 32700,
"query": 32715,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 440900,
"owner": null,
"boosts": 1,
"last_offline": 1742209729,
"score": null,
"last_online": 1743579228,
"icon": null,
"name": "Seefalken Königreich des Himmels - Exile (Transfer/300/Quests)",
"connect": "185.239.211.56:32700",
"request": "185.239.211.56:32715",
"map": "Desolate Lands",
"gamemode": "Conan Exiles",
"version": "",
"numplayers": 1,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1684413371,
"last_update": 1743579228,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 170,
"steam_id": 440900,
"name": "Conan Exiles",
"url": "conan-exiles",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/838435");
$data = json_decode($json, true);
var_dump($data);