API для AU/NZ | TBB - The Black Berets | TBB Modern | discord.gg/JDd4Cx429
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1787241503,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "103.187.104.83:26060",
"country": "AU",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 13866701,
"ip": "103.187.104.83",
"language": "en",
"last_update": 1794699600,
"map": "Spartan Gaming Vietnam 67",
"maxplayers": 128,
"name": "AU/NZ | TBB - The Black Berets | TBB Modern | discord.gg/JDd4Cx429",
"numplayers": 0,
"official": false,
"points": 30,
"port": 26060,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 26060,
"request": "103.187.104.83:26060",
"secured": true,
"status": true,
"steam_id": null,
"version": "1.8.0.13",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Macquarie Park",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794692555,
"last_online": 1794699600,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1380,
"wipe_period": null,
"flags": 1,
"region": "OCE",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "0-000000000030",
"pingSiteId": "sydney",
"scenarioId": "{F58066EAB4E68EEF}Missions/Conflict Vietnam.conf",
"lastJoinedAt": null,
"platformName": "LINUX",
"runtimeStats": {
"fps": 32,
"memory": 671670
},
"directJoinCode": "0853853797",
"detailsUpdatedAt": 1793712440,
"hostedScenarioModId": "6692BEB8D0C580CE",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13866701");
$data = json_decode($json, true);
var_dump($data);