Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8338819
json
{
"response": {
"id": 8338819,
"ip": "136.38.113.202",
"port": 27960,
"query": 27960,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 282440,
"owner": null,
"boosts": 1,
"last_offline": 1743529422,
"score": 0,
"last_online": 1743918831,
"icon": null,
"name": "Quake-a-Doodle-Doofus",
"connect": "136.38.113.202:27960",
"request": "136.38.113.202:27960",
"map": "dividedcrossings",
"gamemode": "Capture the Flag",
"version": "1069 linux-x64 Jun 3 2016 20:53:50",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1743529422,
"last_update": 1743918831,
"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/8338819");
$data = json_decode($json, true);
var_dump($data);