Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1396893
json
{
"response": {
"id": 1396893,
"ip": "92.223.80.248",
"port": 28797,
"query": 27797,
"color": 0,
"description": "",
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1756277609,
"score": null,
"last_online": 1755849667,
"icon": null,
"name": "KHB1-L7GOEX",
"connect": "92.223.80.248:28797",
"request": "92.223.80.248:27797",
"map": "14",
"gamemode": "Contract Wars 2.0 Standalone",
"version": null,
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1693597117,
"last_update": 1756277609,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 6495,
"steam_id": 374280,
"name": "Hired Ops",
"url": "hired-ops",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1396893");
$data = json_decode($json, true);
var_dump($data);