Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/204928
json
{
"response": {
"id": 204928,
"ip": "37.230.137.147",
"port": 27015,
"query": 27015,
"color": 0,
"description": "",
"game": 10,
"owner": 9111,
"boosts": 1,
"last_offline": 1758609897,
"score": null,
"last_online": 1760113821,
"icon": null,
"name": "С К И Л Л О В А Я С И Б И Р Ь+18(STEAM BONUS)",
"connect": "37.230.137.147:27015",
"request": "37.230.137.147:27015",
"map": "de_dust2_3x3",
"gamemode": "%NIGHT VIP%",
"version": "1.1.2.7/Stdio",
"numplayers": 11,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 73,
"add_date": 1579487937,
"last_update": 1760113821,
"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": {
"username": "Kill1986",
"avatar": "no.jpg",
"last_online": 1646198436
},
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/204928");
$data = json_decode($json, true);
var_dump($data);