API для DESKTOP-AHNAAV0 Capture & Hold - Almara Factory
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791036191,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "180.74.217.111:2001",
"country": "MY",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17667201,
"ip": "180.74.217.111",
"language": "ms",
"last_update": 1791277981,
"map": "Gamemaster winchester",
"maxplayers": 24,
"name": "DESKTOP-AHNAAV0 Capture & Hold - Almara Factory",
"numplayers": 0,
"official": false,
"points": 0,
"port": 2001,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "180.74.217.111: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": "Петалинг-Джая",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1791277981,
"last_online": 1791119498,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 16481,
"wipe_period": null,
"flags": 1,
"region": "ASIA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "P2p",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "11000014643ab60-00002455c7ed",
"pingSiteId": "singapore",
"scenarioId": "{A34CA0B017F2F30D}Missions/Gamemaster.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {},
"directJoinCode": "0345636444",
"detailsUpdatedAt": 1791116916,
"hostedScenarioModId": "59A6F54195A3778B",
"supportedGameClientTypes": [
"PLATFORM_PC"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17667201");
$data = json_decode($json, true);
var_dump($data);