Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8229530
json
{
"response": {
"id": 8229530,
"ip": "212.85.90.203",
"port": 2303,
"query": 2303,
"owner_name": null,
"owner_avatar": null,
"color": 0,
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1743859533,
"score": 0,
"last_online": 1743459681,
"icon": null,
"name": "rum_and_coke",
"connect": "212.85.90.203:2303",
"request": "212.85.90.203:2303",
"map": "SefrouRamal",
"gamemode": "Kompis Patrull SFP v1.1",
"version": null,
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": false,
"private": true,
"country": "SE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1742421600,
"last_update": 1743859533,
"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/8229530");
$data = json_decode($json, true);
var_dump($data);