API для Milwerx PTS1 WCS
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787241512,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "93.107.5.50:2311",
"country": "IE",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13870683,
"ip": "93.107.5.50",
"language": "en",
"last_update": 1794630739,
"map": "[WCS] Serhiivka - East/West #1",
"maxplayers": 16,
"name": "Milwerx PTS1 WCS",
"numplayers": 0,
"official": false,
"points": 30,
"port": 2311,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2311,
"request": "93.107.5.50:2311",
"secured": false,
"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": 1794617158,
"last_online": 1794630739,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1850,
"wipe_period": null,
"flags": 0,
"region": "EU",
"visible": true,
"battlEye": false,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "e9b325e0-00001055efcf",
"pingSiteId": "london",
"scenarioId": "{EA8CACC34C1ABC86}Missions/WCS_Serhiivka_Conflict_EvW_Layout1.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 60,
"memory": 1107277
},
"directJoinCode": "0433391675",
"detailsUpdatedAt": 1794503977,
"hostedScenarioModId": "61557578724DBE60",
"supportedGameClientTypes": [
"PLATFORM_PC"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13870683");
$data = json_decode($json, true);
var_dump($data);