API для The Zero Line | Dev Server | discord.gg/HfhUYRnwc
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1788286276,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "207.174.43.169:2032",
"country": "US",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14284356,
"ip": "207.174.43.169",
"language": "en",
"last_update": 1794695999,
"map": "TZL Novo Frontline",
"maxplayers": 128,
"name": "The Zero Line | Dev Server | discord.gg/HfhUYRnwc",
"numplayers": 0,
"official": false,
"points": 30,
"port": 2032,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2032,
"request": "207.174.43.169:2032",
"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": 1794692571,
"last_online": 1794695999,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2409,
"wipe_period": null,
"flags": 1,
"region": "NA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "0-000000000030",
"pingSiteId": "new_york",
"scenarioId": "{DB1298DFF9527684}Missions/TZLNovoFrontline.conf",
"lastJoinedAt": null,
"platformName": "LINUX",
"runtimeStats": {
"fps": 165,
"memory": 1095964
},
"directJoinCode": "0344048142",
"detailsUpdatedAt": 1794629295,
"hostedScenarioModId": "6ACB51F62955ACE0",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14284356");
$data = json_decode($json, true);
var_dump($data);