Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1683584
json
{
"response": {
"id": 1683584,
"ip": "74.91.122.242",
"port": 27960,
"query": 27960,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 282440,
"owner": null,
"boosts": 1,
"last_offline": 1741094641,
"score": null,
"last_online": 1743927718,
"icon": null,
"name": "White-Lightning #1 | Freeze Tag | Chicago",
"connect": "74.91.122.242:27960",
"request": "74.91.122.242:27960",
"map": "evolution",
"gamemode": "Freeze Tag",
"version": "1069 linux-x64 Jun 3 2016 20:53:50",
"numplayers": 0,
"maxplayers": 28,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1698946884,
"last_update": 1743927718,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 138,
"steam_id": 282440,
"name": "Quake Live",
"url": "quake-live",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1683584");
$data = json_decode($json, true);
var_dump($data);