Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8505645
json
{
"response": {
"id": 8505645,
"ip": "115.130.8.66",
"port": 2303,
"query": 2303,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1746144394,
"score": 0,
"last_online": 1744021283,
"icon": null,
"name": "Crazygramps41 on DESKTOP-AQJPR25",
"connect": "115.130.8.66:2303",
"request": "115.130.8.66:2303",
"map": "swu_public_salman_map",
"gamemode": "'91%20Al%20Salman%20Push%20Pt%2e2",
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1744013978,
"last_update": 1746144394,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"list_hidden": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3",
"popular_maps_available": true
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}
Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8505645");
$data = json_decode($json, true);
var_dump($data);