Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5797170
json
{
"response": {
"id": 5797170,
"ip": "84.22.153.100",
"port": 27015,
"query": 27015,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 70,
"owner": null,
"boosts": 1,
"last_offline": 1743867902,
"score": 0,
"last_online": 1743909685,
"icon": null,
"name": "Dawn Half-Life",
"connect": "dawnhl.ru:27015",
"request": "84.22.153.100:27015",
"map": "damncross",
"gamemode": "D A W N",
"version": "1.1.2.7/Stdio",
"numplayers": 5,
"maxplayers": 20,
"bots": 2,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 54,
"add_date": 1724759985,
"last_update": 1743909685,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 9,
"steam_id": 70,
"name": "Half-Life",
"url": "half-life",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/5797170");
$data = json_decode($json, true);
var_dump($data);