API для HLL Official - US West #01
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1734345104,
"app": {
"id": 51409,
"name": "Hell Let Loose",
"steam_id": 686810,
"url": "hell-let-loose"
},
"color": 0,
"connect": "45.137.246.13:28500",
"country": "DE",
"domain": null,
"game": 686810,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 6923526,
"ip": "45.137.246.13",
"language": "de",
"last_update": 1794679589,
"map": "DEV_P",
"maxplayers": 100,
"name": "HLL Official - US West #01",
"numplayers": 0,
"official": null,
"points": 30,
"port": 28500,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 28515,
"request": "45.137.246.13:28515",
"secured": true,
"status": true,
"steam_id": "90297459503077398",
"version": "0.1.1.0",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Мюнхен",
"description": null,
"disabled_modules": [],
"gamemode": "Hell Let Loose",
"hidden": false,
"last_offline": 1794491968,
"last_online": 1794679589,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 74,
"wipe_period": null,
"P2PADDR": "45.137.246.13",
"P2PPORT": "28500",
"VISIB_i": "0",
"CONMETHOD": "Direct",
"PINGPORT_i": "28531",
"listentype": "d",
"Crossplay_b": "true",
"environment": "w",
"Changelist_s": "1183087",
"SESSIONFLAGS": "171",
"a2s_protocol": 17,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6923526");
$data = json_decode($json, true);
var_dump($data);