Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5593
json
{
"response": {
"id": 5593,
"ip": "46.174.54.144",
"port": 27015,
"query": 27015,
"color": 0,
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1756816533,
"score": null,
"last_online": 1759959657,
"icon": null,
"name": "|̿П͇|обег из тюрьмы [ANIME/FREE TRAIL/14+]",
"connect": "46.174.54.144:27015",
"request": "46.174.54.144:27015",
"map": "jail_xmf",
"gamemode": "[Cs-Unreal.Net]",
"version": "1.1.2.7/Stdio",
"numplayers": 3,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1501541219,
"last_update": 1759959657,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/5593");
$data = json_decode($json, true);
var_dump($data);