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