Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/3402896
json
{
"response": {
"id": 3402896,
"ip": "74.91.114.11",
"port": 27015,
"query": 27015,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1724441784,
"score": null,
"last_online": 1743092456,
"icon": null,
"name": "NFOservers.com - Dallas # 01 - Normal difficulty",
"connect": "74.91.114.11:7777",
"request": "74.91.114.11:27015",
"map": "KF-INFERNALREALM",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 1,
"maxplayers": 6,
"bots": 1,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1710369660,
"last_update": 1743092456,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/3402896");
$data = json_decode($json, true);
var_dump($data);