API для [FR/EN] BGC Chernarus | PVE | Build+ - Plane - Arty - Drones
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794146719,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "85.190.149.177:10600",
"country": "GB",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19821663,
"ip": "85.190.149.177",
"language": "en",
"last_update": 1794495804,
"map": "Chernarus PVE - Conquête HQC",
"maxplayers": 10,
"name": "[FR/EN] BGC Chernarus | PVE | Build+ - Plane - Arty - Drones",
"numplayers": 0,
"official": false,
"points": 30,
"port": 10600,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 10600,
"request": "85.190.149.177:10600",
"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": 1794493432,
"last_online": 1794495804,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 3845,
"wipe_period": null,
"flags": 1,
"region": "EU",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "98dee10b-0000fca7f3b2",
"pingSiteId": "london",
"scenarioId": "{F65FF1530647BFBE}Missions/CPVE_Chernarus_HQC.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 120,
"memory": 2066821
},
"directJoinCode": "0260234337",
"detailsUpdatedAt": 1794464779,
"hostedScenarioModId": "639964BE95CA3D50",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19821663");
$data = json_decode($json, true);
var_dump($data);