Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1374346
json
{
"response": {
"id": 1374346,
"ip": "162.43.8.6",
"port": 26900,
"query": 26900,
"color": 0,
"description": "",
"game": 251570,
"owner": null,
"boosts": 1,
"last_offline": 1760108678,
"score": null,
"last_online": 1760118073,
"icon": null,
"name": "[JP][PVE]GG_Channel_Server_Season7",
"connect": "162.43.8.6:26900",
"request": "162.43.8.6:26900",
"map": "Season07",
"gamemode": "7 Days To Die",
"version": "01.02.03",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": true,
"country": "JP",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1693553467,
"last_update": 1760118073,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 49,
"steam_id": 251570,
"name": "7 Days to Die",
"url": "7-days-to-die",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1374346");
$data = json_decode($json, true);
var_dump($data);