Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/773235
json
{
"response": {
"id": 773235,
"ip": "185.216.144.100",
"port": 2732,
"query": 2733,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1732456644,
"score": null,
"last_online": 1744105388,
"icon": null,
"name": "10th Tactical Rejects DayZ 01",
"connect": "185.216.144.100:2732",
"request": "185.216.144.100:2733",
"map": "chernarusplus",
"gamemode": null,
"version": "1.26.159040",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1680795691,
"last_update": 1744105388,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/773235");
$data = json_decode($json, true);
var_dump($data);