API для === [RU] 177 MOSCOW \/\/ KGB \/\/ PVE ===
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792828990,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "185.189.255.98:2001",
"country": "RU",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18929453,
"ip": "185.189.255.98",
"language": "ru",
"last_update": 1794601916,
"map": "#AR-Campaign_ScenarioName_Everon PVE 4x",
"maxplayers": 21,
"name": "=== [RU] 177 MOSCOW \\/\\/ KGB \\/\\/ PVE ===",
"numplayers": 1,
"official": false,
"points": 33,
"port": 2001,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "185.189.255.98:2001",
"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": 1794599013,
"last_online": 1794601916,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 834,
"wipe_period": null,
"flags": 1,
"region": "EU",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "ae8fd703-000047f3576e",
"pingSiteId": "frankfurt",
"scenarioId": "{3197BE0E6932DFAD}Missions/ConflictPVERemixedVanilla2_US4x.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 43,
"memory": 1435405
},
"directJoinCode": "0747033391",
"detailsUpdatedAt": 1794552185,
"hostedScenarioModId": "61B514B96692C049",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18929453");
$data = json_decode($json, true);
var_dump($data);