API для 1st Viper Unit | Reforger | Ci5 PVE - Everon
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794170313,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "49.245.67.8:2001",
"country": "SG",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19838153,
"ip": "49.245.67.8",
"language": "en",
"last_update": 1794601388,
"map": "Ci5 - Everon PVE",
"maxplayers": 32,
"name": "1st Viper Unit | Reforger | Ci5 PVE - Everon",
"numplayers": 0,
"official": false,
"points": 0,
"port": 2001,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "49.245.67.8:2001",
"secured": true,
"status": false,
"steam_id": null,
"version": "1.9.0.37",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Сингапур",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794601388,
"last_online": 1794200340,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 15118,
"wipe_period": null,
"flags": 1,
"region": "ASIA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": false,
"joinQueue": {
"size": 0
},
"sessionId": "d3015754-0000918113ed",
"pingSiteId": "singapore",
"scenarioId": "{02FD3A7D9FE475E0}Missions/Ci5_Conflict_Eden_PVE.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 60,
"memory": 1297212
},
"directJoinCode": "0886138780",
"detailsUpdatedAt": 1794189450,
"hostedScenarioModId": "69C815615BF7B4F4",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19838153");
$data = json_decode($json, true);
var_dump($data);