Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8391897
json
{
"response": {
"id": 8391897,
"ip": "106.52.18.195",
"port": 27082,
"query": 27082,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 227300,
"owner": null,
"boosts": 1,
"last_offline": 1746730713,
"score": 0,
"last_online": 1747200714,
"icon": null,
"name": "[ 11 ]--------QQ群:790853381--------",
"connect": "106.52.18.195:27082",
"request": "106.52.18.195:27082",
"map": "/map/europe.mbd",
"gamemode": "Q群:790853381",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1743680235,
"last_update": 1747200714,
"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/8391897");
$data = json_decode($json, true);
var_dump($data);