Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/36088
json
{
"response": {
"id": 36088,
"ip": "176.9.10.34",
"port": 27310,
"query": 27310,
"color": 0,
"description": "",
"game": 346330,
"owner": null,
"boosts": 1,
"last_offline": 1733247946,
"score": null,
"last_online": 1756377744,
"icon": null,
"name": "[GER] Deathmatch - PvP",
"connect": "176.9.10.34:27310",
"request": "176.9.10.34:27310",
"map": "bbd_termoil",
"gamemode": "BrainBread 2",
"version": "1.0.4.9",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1516802459,
"last_update": 1756377744,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 141,
"steam_id": 346330,
"name": "BrainBread 2",
"url": "brainbread-2",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/36088");
$data = json_decode($json, true);
var_dump($data);