Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/205701
json
{
"response": {
"id": 205701,
"ip": "86.57.176.80",
"port": 27016,
"query": 27016,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 70,
"owner": null,
"boosts": 1,
"last_offline": 1743679101,
"score": null,
"last_online": 1746289861,
"icon": null,
"name": "BY #Stalkyard 24/7 BHL.BY:27016",
"connect": "86.57.176.80:27016",
"request": "86.57.176.80:27016",
"map": "stalkyard",
"gamemode": "Half-Life",
"version": "1.1.2.2/Stdio",
"numplayers": 2,
"maxplayers": 14,
"bots": 2,
"secured": true,
"private": false,
"country": "BY",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1582844969,
"last_update": 1746289861,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 9,
"steam_id": 70,
"name": "Half-Life",
"url": "half-life",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/205701");
$data = json_decode($json, true);
var_dump($data);