Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5559890
json
{
"response": {
"id": 5559890,
"ip": "212.22.93.42",
"port": 50010,
"query": 50010,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1746131334,
"score": 0,
"last_online": 1746291635,
"icon": "https://icdn.su/f/020/9zY/JWq.png",
"name": "[RU] WW2 RP",
"connect": "212.22.93.42:50010",
"request": "212.22.93.42:50010",
"map": "WW2",
"gamemode": "ВОЕННЫЙ@РП",
"version": "3.25.4.0",
"numplayers": 48,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1723304791,
"last_update": 1746291635,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/5559890");
$data = json_decode($json, true);
var_dump($data);