Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/817314
json
{
"response": {
"id": 817314,
"ip": "176.57.165.128",
"port": 28115,
"query": 28115,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 440900,
"owner": null,
"boosts": 1,
"last_offline": 1743466650,
"score": null,
"last_online": 1743470496,
"icon": null,
"name": "Beyond the Road of Kings: Shores of Blood",
"connect": "176.57.165.128:28100",
"request": "176.57.165.128:28115",
"map": "Savage Wilds",
"gamemode": "Conan Exiles",
"version": "",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684362410,
"last_update": 1743470496,
"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/817314");
$data = json_decode($json, true);
var_dump($data);