API для [EU-ENG] Team ELAN Arma Life (3) [WHITELIST]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787241507,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "188.165.24.18:4001",
"country": "FR",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13868761,
"ip": "188.165.24.18",
"language": "fr",
"last_update": 1794686537,
"map": "Arma Life | Everon",
"maxplayers": 96,
"name": "[EU-ENG] Team ELAN Arma Life (3) [WHITELIST]",
"numplayers": 20,
"official": false,
"points": 48,
"port": 4001,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 4001,
"request": "188.165.24.18:4001",
"secured": true,
"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": 1794681165,
"last_online": 1794686537,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 311,
"wipe_period": null,
"flags": 1,
"region": "EU",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "14493439-0000fa6ea1f1",
"pingSiteId": "london",
"scenarioId": "{1B66314443FF93CC}Missions/elan1.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 50,
"memory": 1069952
},
"directJoinCode": "0026163815",
"detailsUpdatedAt": 1794678278,
"hostedScenarioModId": "599820634D266D00",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13868761");
$data = json_decode($json, true);
var_dump($data);