JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/20088116
json
{
  "response": {
    "add_date": 1794602455,
    "app": {
      "id": 63,
      "name": "DayZ",
      "steam_id": 221100,
      "url": "dayz"
    },
    "color": 0,
    "connect": "83.4.151.103:2302",
    "country": "PL",
    "domain": null,
    "game": 221100,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20088116,
    "ip": "83.4.151.103",
    "language": "pl",
    "last_update": 1794680166,
    "map": "chernarusplus",
    "maxplayers": 50,
    "name": "Black Front | PVP Winter AI | Chernarus",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 2302,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27016,
    "request": "83.4.151.103:27016",
    "secured": true,
    "status": true,
    "steam_id": "90297463891990559",
    "version": "1.30.164289",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Вроцлав",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794618895,
    "last_online": 1794680166,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 42996,
    "wipe_period": null,
    "\u0001\b": "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0017��I�\u0004X���\u0013Winter Chernarus V2�]yN\u0004����\u0017Terje Compatibility VPP\u0015ѥ�\u0004T��l\rVPPAdminToolsf\u0002o�\u0004���`\u0012VanillaPlusPlusMap��n�\u0004�",
    "\u0002\b": "���\u0012Terje Start Screen>\"z�\u0004���\fTerje Skills��PL\u0004e��\u000fTerje Radiationf\u0014��\u0004���\u000eTerje Medicine��N\u0004\u0004B��\nTerje Core�$U�\u0004���\u0013Surv",
    "\u0004\b": "htys Military Gear�u�;\u0004�'9]\u0016Community Online Tools&��0\u0004�p�e\u0010BaseBuildingPlus��\u0006�\u0004\u0019~\u0017�,BallerZ SNAFU Weapons Upgrades and Retext",
    "\u0005\b": "ure�PFz\u0004�\u0015��\rSNAFU_Weaponsat�\u0004\u0016�R�\u0015DayZ-Expansion-MarketyՌ3\u0004\\ޙ�\u0013DayZ-Expansion-Core\f���\u0004 ���\u000eDabs Framework!�%�\u0004\u0004��\\\u0013Communi",
    "\u0006\b": "ty Framework\u0015\u0004AJ45\u0003BBP\u0003BGZ\u0007Blinded\nCodeLockv3\u0003dab\u0004dayz\tExpansion\u0007Hunterz\u000eJacob_Mango_V3\u0004L4DS\u000fMightyMoitzbert\nNBC_DryBag\fPAROLLO",
    "\u0007\b": "_FREE\trag_tyson\bRUS67pak\u000eServerPanel_V3\u0010SNAFU_Weapons_V1\u000fsnowbro007_bhvp\u0005Terje\u0003VPPcPVP survival | Base raids allowed | 200m Alt",
    "\b\b": "ar safe zone | Winter AI patrols | SNAFU | 4h restarts.",
    "time": "14:09",
    "queue": 0,
    "platform": "win",
    "timeLeft": "15",
    "dedicated": "1",
    "clientPort": "0",
    "listentype": "d",
    "dlc_enabled": false,
    "environment": "w",
    "a2s_protocol": 17,
    "allowedBuild": "0",
    "first_person": true,
    "requiredBuild": "0",
    "requiredVersion": "130",
    "day_acceleration": 4,
    "players_complete": true,
    "night_acceleration": 6
  }
}

Примеры кода

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20088116");
$data = json_decode($json, true);
var_dump($data);