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

text
https://api.gamemonitoring.ru/servers/18696001
json
{
  "response": {
    "add_date": 1792421801,
    "app": {
      "id": 55076,
      "name": "Arma Reforger",
      "steam_id": 1874880,
      "url": "arma-reforger"
    },
    "color": 0,
    "connect": "162.220.10.130:2046",
    "country": "US",
    "domain": null,
    "game": 1874880,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 18696001,
    "ip": "162.220.10.130",
    "language": "en",
    "last_update": 1794712797,
    "map": "Game Master - Fallujah",
    "maxplayers": 128,
    "name": "1st Battalion 27th  Infantry Regiment | milsim | operation server",
    "numplayers": 0,
    "official": false,
    "points": 30,
    "port": 2046,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 2046,
    "request": "162.220.10.130:2046",
    "secured": false,
    "status": true,
    "steam_id": null,
    "version": "1.9.0.37",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Secaucus",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794708815,
    "last_online": 1794712797,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 3023,
    "wipe_period": null,
    "flags": 0,
    "region": "NA",
    "visible": true,
    "battlEye": false,
    "favorite": false,
    "hostType": "CommunityDs",
    "joinable": true,
    "joinQueue": {
      "size": 0
    },
    "sessionId": "0-000000000030",
    "pingSiteId": "los_angeles",
    "scenarioId": "{1A3E48F1DF550004}missions/GM_Fallujah_Edit_2.conf",
    "lastJoinedAt": null,
    "platformName": "LINUX",
    "runtimeStats": {
      "fps": 165,
      "memory": 452491
    },
    "directJoinCode": "0123972334",
    "detailsUpdatedAt": 1794176013,
    "hostedScenarioModId": "66772D4978ED4F41",
    "supportedGameClientTypes": [
      "PLATFORM_PC",
      "PLATFORM_XBL",
      "PLATFORM_PSN"
    ]
  }
}

Примеры кода

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