Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/403641
json
{
"response": {
"id": 403641,
"ip": "89.179.240.119",
"port": 27069,
"query": 27069,
"color": 0,
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1750045983,
"score": null,
"last_online": 1756383645,
"icon": null,
"name": "c400.ru CS:Source Server [cs_militia only]",
"connect": "89.179.240.119:27069",
"request": "89.179.240.119:27069",
"map": "cs_militia",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 17,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 56,
"add_date": 1603798094,
"last_update": 1756383645,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/403641");
$data = json_decode($json, true);
var_dump($data);