API для ALEJANDRO Capture & Hold - Almara Factory
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793834339,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "191.113.73.103:2001",
"country": "CL",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19658831,
"ip": "191.113.73.103",
"language": "es",
"last_update": 1794602576,
"map": "Procedural Combat - Bakhmut City",
"maxplayers": 6,
"name": "ALEJANDRO Capture & Hold - Almara Factory",
"numplayers": 0,
"official": false,
"points": 0,
"port": 2001,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "191.113.73.103:2001",
"secured": true,
"status": false,
"steam_id": null,
"version": "1.8.0.13",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Буин",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794602576,
"last_online": 1793843797,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 9600,
"wipe_period": null,
"flags": 1,
"region": "NA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "P2p",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "110000104079d1-000278bf2a3c",
"pingSiteId": "miami",
"scenarioId": "{A7C3E91B4D20F86E}Missions/ProceduralCombat_BakhmutCity.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {},
"directJoinCode": "0014450781",
"detailsUpdatedAt": 1793842296,
"hostedScenarioModId": "6ABCFEEC181E5F2B",
"supportedGameClientTypes": [
"PLATFORM_PC"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19658831");
$data = json_decode($json, true);
var_dump($data);