API для DESKTOP-UT9D8TB Capture & Hold - Bois de Simon
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794180143,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "89.85.36.82:2001",
"country": "FR",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19847622,
"ip": "89.85.36.82",
"language": "fr",
"last_update": 1794597824,
"map": "#AR-CAH-Scenario_Name_Simons_Wood",
"maxplayers": 32,
"name": "DESKTOP-UT9D8TB Capture & Hold - Bois de Simon",
"numplayers": 0,
"official": false,
"points": 0,
"port": 2001,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "89.85.36.82:2001",
"secured": true,
"status": false,
"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": 1794597824,
"last_online": 1794180804,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 15263,
"wipe_period": null,
"flags": 1,
"region": "EU",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "P2p",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "1100001306b50dd-000081c2498f",
"pingSiteId": "london",
"scenarioId": "{1CD06B409C6FAE56}Missions/CAH_Forest.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {},
"directJoinCode": "0732341630",
"detailsUpdatedAt": 1794180024,
"hostedScenarioModId": null,
"supportedGameClientTypes": [
"PLATFORM_PC"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19847622");
$data = json_decode($json, true);
var_dump($data);