Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/110799
json
{
"response": {
"id": 110799,
"ip": "185.193.165.18",
"port": 27015,
"query": 27015,
"color": 0,
"description": "",
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1757534179,
"score": null,
"last_online": 1757795570,
"icon": null,
"name": "Mahzen JailBreak #CB https://discord.gg/ncMrNrsE8w - prooyun.ne",
"connect": "185.193.165.18:27015",
"request": "185.193.165.18:27015",
"map": "jb_mahzen_yeni",
"gamemode": "Counter-Strike 2",
"version": "1.41.0.3",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "TR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1552664279,
"last_update": 1757795570,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/110799");
$data = json_decode($json, true);
var_dump($data);