API для NEWFIE762 Capture & Hold - Almara Factory
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1789340469,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "24.235.219.25:2001",
"country": "CA",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16297593,
"ip": "24.235.219.25",
"language": "en",
"last_update": 1794601343,
"map": "Freedom Fighters Plus - Takistan",
"maxplayers": 10,
"name": "NEWFIE762 Capture & Hold - Almara Factory",
"numplayers": 0,
"official": false,
"points": 0,
"port": 2001,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "24.235.219.25: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": "Pembroke",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794601343,
"last_online": 1793753776,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 5260,
"wipe_period": null,
"flags": 1,
"region": "NA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "P2p",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "110000132030722-0000958d9696",
"pingSiteId": "new_york",
"scenarioId": "{23F0055C77845C6B}Missions/FreedomFighters/FFTakistanPlus.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {},
"directJoinCode": "0321919861",
"detailsUpdatedAt": 1793746094,
"hostedScenarioModId": "666119ED3CA6A8C4",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16297593");
$data = json_decode($json, true);
var_dump($data);