Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1384102
json
{
"response": {
"id": 1384102,
"ip": "161.97.171.241",
"port": 31000,
"query": 31015,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": "",
"game": 227300,
"owner": null,
"boosts": 1,
"last_offline": 1746983305,
"score": null,
"last_online": 1747200205,
"icon": null,
"name": "Zockerland Transporte",
"connect": "161.97.171.241:31000",
"request": "161.97.171.241:31015",
"map": "/map/europe.mbd",
"gamemode": "Euro Truck Simulator 2",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1693561125,
"last_update": 1747200205,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 1980,
"steam_id": 227300,
"name": "Euro Truck Simulator 2",
"url": "euro-truck-simulator-2",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1384102");
$data = json_decode($json, true);
var_dump($data);