API для [GREEK] Hellenic Tactical Unit | Training Center | www.hellenictacticalunit.com
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794088561,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "95.164.191.251:2002",
"country": "GR",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19791475,
"ip": "95.164.191.251",
"language": "el",
"last_update": 1794701497,
"map": "HTU Deployment in Fallujah, Iraq",
"maxplayers": 64,
"name": "[GREEK] Hellenic Tactical Unit | Training Center | www.hellenictacticalunit.com",
"numplayers": 0,
"official": false,
"points": 30,
"port": 2002,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2002,
"request": "95.164.191.251:2002",
"secured": false,
"status": true,
"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": 1794692636,
"last_online": 1794701497,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 3913,
"wipe_period": null,
"flags": 0,
"region": "EU",
"visible": true,
"battlEye": false,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "d4cb7e39-000002b614b9",
"pingSiteId": "frankfurt",
"scenarioId": "{CF75B81EAE8924AA}Missions/HTU_Deplyoment_in_Fallujah.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 60,
"memory": 509361
},
"directJoinCode": "0782636735",
"detailsUpdatedAt": 1794666778,
"hostedScenarioModId": "6A953B96E7B195BF",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19791475");
$data = json_decode($json, true);
var_dump($data);