API для Task force lizard test
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787241503,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "185.216.147.169:2001",
"country": "GB",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13866584,
"ip": "185.216.147.169",
"language": "en",
"last_update": 1794628187,
"map": "PVE FAIRCROFT",
"maxplayers": 20,
"name": "Task force lizard test",
"numplayers": 0,
"official": false,
"points": 30,
"port": 2001,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "185.216.147.169: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": 1794617149,
"last_online": 1794628187,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1071,
"wipe_period": null,
"flags": 1,
"region": "EU",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "79ea3bf-0000d247b3b9",
"pingSiteId": "london",
"scenarioId": "{7C8AB079EBD0B97E}Missions/FAIRCROFT_PVE1.8.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 59,
"memory": 1063601
},
"directJoinCode": "0147320217",
"detailsUpdatedAt": 1794532877,
"hostedScenarioModId": "6A22C62755A900D5",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13866584");
$data = json_decode($json, true);
var_dump($data);