Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/213595json
{
"response": {
"id": 213595,
"ip": "94.156.185.102",
"port": 27015,
"query": 27015,
"color": 0,
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1760650479,
"score": null,
"last_online": 1762462237,
"icon": null,
"name": "SECTOR.BG DEATHMATCH 18+ [Skins][Combos][ArmyRanks]",
"connect": "94.156.185.102:27015",
"request": "94.156.185.102:27015",
"map": "cs_italy2_32",
"gamemode": "WWW.SECTOR.BG",
"version": "1.1.2.7/Stdio",
"numplayers": 4,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "BG",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1582845182,
"last_update": 1762462237,
"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/213595");
$data = json_decode($json, true);
var_dump($data);