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

text
https://api.gamemonitoring.ru/servers/19730681
json
{
  "response": {
    "add_date": 1793996258,
    "app": {
      "id": 55076,
      "name": "Arma Reforger",
      "steam_id": 1874880,
      "url": "arma-reforger"
    },
    "color": 0,
    "connect": "104.166.143.98:2001",
    "country": "DE",
    "domain": null,
    "game": 1874880,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19730681,
    "ip": "104.166.143.98",
    "language": "de",
    "last_update": 1794598556,
    "map": "Conflict - Everon  North Central (RHS)",
    "maxplayers": 24,
    "name": "DESKTOP-53F71Q6 Capture & Hold — Бетонный завод",
    "numplayers": 0,
    "official": false,
    "points": 0,
    "port": 2001,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 2001,
    "request": "104.166.143.98:2001",
    "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": 1794598556,
    "last_online": 1794008098,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 12150,
    "wipe_period": null,
    "flags": 1,
    "region": "EU",
    "visible": true,
    "battlEye": true,
    "favorite": false,
    "hostType": "P2p",
    "joinable": true,
    "joinQueue": {
      "size": 0
    },
    "sessionId": "11000010181e24-0003ce7bbfb8",
    "pingSiteId": "frankfurt",
    "scenarioId": "{2F5DD5ACC14120A9}Missions/RHS_Conflict_NorthCentral.conf",
    "lastJoinedAt": null,
    "platformName": "Windows",
    "runtimeStats": {},
    "directJoinCode": "0345660822",
    "detailsUpdatedAt": 1794003597,
    "hostedScenarioModId": "595F2BF2F44836FB",
    "supportedGameClientTypes": [
      "PLATFORM_PC"
    ]
  }
}

Примеры кода

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