Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/630010
json
{
"response": {
"id": 630010,
"ip": "128.0.113.134",
"port": 2202,
"query": 2203,
"color": 0,
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1756387567,
"score": null,
"last_online": 1760119934,
"icon": null,
"name": "� [ OFFICIAL ] Arma 3 CSLA COOP SG 01",
"connect": "128.0.113.134:2202",
"request": "128.0.113.134:2203",
"map": "stozec",
"gamemode": "Cleaning [CO-20] v1.1",
"version": "2.20.153169",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1669652601,
"last_update": 1760119934,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": 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/630010");
$data = json_decode($json, true);
var_dump($data);