Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/2783842
json
{
"response": {
"id": 2783842,
"ip": "46.174.55.194",
"port": 27015,
"query": 27015,
"owner_name": "z10y",
"owner_avatar": "2a3d8aa7-2dba-4ae5-ba0b-61e404cc09a1.jpg",
"color": 0,
"description": "",
"game": 9000042,
"owner": 43900,
"boosts": 1,
"last_offline": 1747175435,
"score": null,
"last_online": 1747279906,
"icon": null,
"name": "ЭПОХА 00-х | ЗAPУБA HA DUST | СКИНЫ",
"connect": "46.174.55.194:27015",
"request": "46.174.55.194:27015",
"map": "de_dust2",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 35,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1706538250,
"last_update": 1747279906,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 1629104,
"steam_id": 9000042,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive",
"popular_maps_available": true
},
"server_owner": {
"username": "z10y",
"avatar": "2a3d8aa7-2dba-4ae5-ba0b-61e404cc09a1.jpg"
},
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/2783842");
$data = json_decode($json, true);
var_dump($data);