API для [OFFICIAL] Game Master Kolguyev - 17236004 - (AP-TO)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"id": 13874518,
"mods": [],
"flags": 1,
"region": "ASIA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "UnmanagedOfficialDs",
"joinable": true,
"joinQueue": {
"size": 0,
"type": "REGULAR",
"maxSize": 50
},
"sessionId": "0-000000000030",
"pingSiteId": "tokyo",
"scenarioId": "{F45C6C15D31252E6}Missions/27_GM_Cain.conf ",
"lastJoinedAt": null,
"platformName": "LINUX",
"runtimeStats": {
"fps": 60,
"memory": 1072081
},
"directJoinCode": "0201044353",
"detailsUpdatedAt": 1787253913,
"hostedScenarioModId": null,
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
],
"steam_id": null,
"domain": null,
"ip": "45.140.128.39",
"port": 28045,
"query": 28045,
"project_id": null,
"color": 0,
"city": "Tokyo",
"description": null,
"game": 1874880,
"owner": null,
"boosts": 1,
"last_offline": 1787345631,
"last_online": 1787336954,
"icon": null,
"name": "[OFFICIAL] Game Master Kolguyev - 17236004 - (AP-TO)",
"connect": "45.140.128.39:28045",
"request": "45.140.128.39:28045",
"map": "#AR-Editor_Mission_GM_Kolguyev_Name",
"gamemode": null,
"version": "1.8.0.10",
"numplayers": 0,
"maxplayers": 48,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1787254411,
"last_update": 1787345631,
"ban_reason": null,
"banned": false,
"wipe": null,
"official": true,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5900,
"language": "ja",
"parked": false,
"app": {
"id": 55076,
"steam_id": 1874880,
"name": "Arma Reforger",
"url": "arma-reforger"
},
"server_owner": null,
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13874518");
$data = json_decode($json, true);
var_dump($data);