Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7166088
json
{
"response": {
"id": 7166088,
"ip": "90.7.133.141",
"port": 57565,
"query": 57565,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 834910,
"owner": null,
"boosts": 1,
"last_offline": 1743014251,
"score": 0,
"last_online": 1743562888,
"icon": null,
"name": "L'Empire des Pirates A3 - (v560.3)",
"connect": "90.7.133.141:5765",
"request": "90.7.133.141:57565",
"map": "Ocean",
"gamemode": "ATLAS",
"version": "560.3",
"numplayers": 1,
"maxplayers": 19,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1736264286,
"last_update": 1743562888,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 23488,
"steam_id": 834910,
"name": "ATLAS",
"url": "atlas",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7166088");
$data = json_decode($json, true);
var_dump($data);