API для DESKTOP-4GIRTD0 Capture & Hold - Almara Factory
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794082103,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "72.33.2.53:2001",
"country": "US",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19788402,
"ip": "72.33.2.53",
"language": null,
"last_update": 1794603250,
"map": "Combat Ops - Arland (RHS USMC vs MSV)",
"maxplayers": 16,
"name": "DESKTOP-4GIRTD0 Capture & Hold - Almara Factory",
"numplayers": 0,
"official": false,
"points": 0,
"port": 2001,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "72.33.2.53: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": 1794603250,
"last_online": 1794083813,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 13590,
"wipe_period": null,
"flags": 1,
"region": "NA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "P2p",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "110000105eab5f-0002f18c6d5c",
"pingSiteId": "new_york",
"scenarioId": "{D10B11A71A36FCF5}Missions/RHS_CombatOps_USMC_vs_MSV.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {},
"directJoinCode": "0432006091",
"detailsUpdatedAt": 1794082132,
"hostedScenarioModId": "595F2BF2F44836FB",
"supportedGameClientTypes": [
"PLATFORM_PC"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19788402");
$data = json_decode($json, true);
var_dump($data);