Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7972807
json
{
"response": {
"id": 7972807,
"ip": "45.159.7.122",
"port": 10322,
"query": 10322,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1745250437,
"score": 0,
"last_online": 1745281251,
"icon": null,
"name": "Shiryu PVE 40+ server",
"connect": "45.159.7.122:10320",
"request": "45.159.7.122:10322",
"map": "Level01_Main",
"gamemode": "Soulmask",
"version": "1.0.0.0",
"numplayers": 2,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1741013108,
"last_update": 1745281251,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7972807");
$data = json_decode($json, true);
var_dump($data);