Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1120002
json
{
"response": {
"id": 1120002,
"ip": "141.95.3.121",
"port": 6142,
"query": 6143,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 892970,
"owner": null,
"boosts": 1,
"last_offline": 1744690562,
"score": null,
"last_online": 1745179975,
"icon": null,
"name": "Hosted by GTXGaming",
"connect": "141.95.3.121:6142",
"request": "141.95.3.121:6143",
"map": "Hosted by GTXGaming",
"gamemode": null,
"version": "0.216.9",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1688859033,
"last_update": 1745179975,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 34967,
"steam_id": 892970,
"name": "Valheim",
"url": "valheim",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1120002");
$data = json_decode($json, true);
var_dump($data);