Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1624
json
{
"response": {
"id": 1624,
"ip": "46.174.49.29",
"port": 27204,
"query": 27204,
"color": 0,
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1751519089,
"score": null,
"last_online": 1758230442,
"icon": null,
"name": "csmax.net :: fy_pool_day",
"connect": "46.174.49.29:27204",
"request": "46.174.49.29:27204",
"map": "fy_pool_day",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 4,
"maxplayers": 17,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1501541148,
"last_update": 1758230442,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1624");
$data = json_decode($json, true);
var_dump($data);