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

text
https://api.gamemonitoring.ru/servers/16444100
json
{
  "response": {
    "id": 16444100,
    "mods": [],
    "flags": 1,
    "region": "EU",
    "visible": true,
    "battlEye": true,
    "favorite": false,
    "hostType": "P2p",
    "joinable": true,
    "joinQueue": {
      "size": 0
    },
    "sessionId": "11000011643174d-0000d50b514d",
    "pingSiteId": "frankfurt",
    "scenarioId": "{9909DB7ECEA05535}Missions/RHS_Conflict_East.conf",
    "lastJoinedAt": null,
    "platformName": "Windows",
    "runtimeStats": {},
    "directJoinCode": "0655307684",
    "detailsUpdatedAt": 1789470464,
    "hostedScenarioModId": "595F2BF2F44836FB",
    "supportedGameClientTypes": [
      "PLATFORM_PC"
    ],
    "steam_id": null,
    "domain": null,
    "ip": "31.76.38.224",
    "port": 2001,
    "query": 2001,
    "project_id": null,
    "color": 0,
    "city": "Франкфурт-на-Майне",
    "description": null,
    "game": 1874880,
    "boosts": 1,
    "last_offline": 1789490427,
    "last_online": 1789476525,
    "icon": null,
    "name": "ALMAZPC Capture & Hold — Бетонный завод",
    "connect": "31.76.38.224:2001",
    "request": "31.76.38.224:2001",
    "map": "Conflict - Everon  East (RHS)",
    "gamemode": null,
    "version": "1.8.0.13",
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1789470708,
    "last_update": 1789490427,
    "ban_reason": null,
    "banned": false,
    "hidden": false,
    "wipe": null,
    "official": false,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 8128,
    "language": "de",
    "parked": false,
    "app": {
      "id": 55076,
      "steam_id": 1874880,
      "name": "Arma Reforger",
      "url": "arma-reforger"
    },
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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