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

text
https://api.gamemonitoring.ru/servers/19755660
json
{
  "response": {
    "add_date": 1794012984,
    "app": {
      "id": 55076,
      "name": "Arma Reforger",
      "steam_id": 1874880,
      "url": "arma-reforger"
    },
    "color": 0,
    "connect": "198.73.57.135:7930",
    "country": "US",
    "domain": null,
    "game": 1874880,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19755660,
    "ip": "198.73.57.135",
    "language": "en",
    "last_update": 1794603770,
    "map": "Worthy Islands - Game Master Mode",
    "maxplayers": 70,
    "name": "Backwoods RP | Coast | WIP | discord.gg/mFu2qb6nPA",
    "numplayers": 0,
    "official": false,
    "points": 0,
    "port": 7930,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 7930,
    "request": "198.73.57.135:7930",
    "secured": true,
    "status": false,
    "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": 1794603770,
    "last_online": 1794101454,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 12406,
    "wipe_period": null,
    "flags": 1,
    "region": "NA",
    "visible": true,
    "battlEye": true,
    "favorite": false,
    "hostType": "CommunityDs",
    "joinable": false,
    "joinQueue": {
      "size": 0
    },
    "sessionId": "71cca626-000095058ac9",
    "pingSiteId": "new_york",
    "scenarioId": "{A264B84F0298F73E}Missions/WorthyIslandsGM.conf",
    "lastJoinedAt": null,
    "platformName": "Windows",
    "runtimeStats": {
      "fps": 120,
      "memory": 409076
    },
    "directJoinCode": "0633407721",
    "detailsUpdatedAt": 1794100411,
    "hostedScenarioModId": "596CB4A0AE84C08E",
    "supportedGameClientTypes": [
      "PLATFORM_PC",
      "PLATFORM_XBL",
      "PLATFORM_PSN"
    ]
  }
}

Примеры кода

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