Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/466525json
{
"response": {
"steam_id": "85568392931848667",
"domain": null,
"id": 466525,
"ip": "37.230.210.75",
"port": 27020,
"query": 27020,
"color": 0,
"city": null,
"description": "",
"game": 730,
"owner": null,
"boosts": 1,
"last_offline": 1764095471,
"score": null,
"last_online": 1764125421,
"icon": null,
"name": "CS2 DUELS | 1v1 #30 [RU] — CYBERSHOKE.NET (ONLY MIRAGE)",
"connect": "37.230.210.75:27020",
"request": "37.230.210.75:27020",
"map": "duels_mirage_1x1",
"gamemode": "Counter-Strike 2",
"version": "1.41.2.6",
"numplayers": 2,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1630828146,
"last_update": 1764125421,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"position_game": 3213,
"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/466525");
$data = json_decode($json, true);
var_dump($data);