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

text
https://api.gamemonitoring.ru/servers/11142931
json
{
  "response": {
    "channels": {
      "onlinecount": 34,
      "items": [
        {
          "clients": 0,
          "id": 53,
          "items": [],
          "name": "[cspacer0] (`*•.(`*•..•*´).•*´)",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 56,
          "items": [],
          "name": "[*spacer335]____",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13,
          "items": [],
          "name": "Harry's rejouvination",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5,
          "items": [],
          "name": "Racing Off face where are you?",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 65,
          "items": [],
          "name": "[*spacer340]____",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10,
          "items": [],
          "name": "Nooby's Abandoned Construction Site",
          "order": 11,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11,
          "items": [],
          "name": "Rum's man cave",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 95,
          "items": [],
          "name": "Broken Cunt Computer Repairs",
          "order": 15,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 158,
          "items": [],
          "name": "iRacing and Soft cocks",
          "order": 27,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 184,
          "items": [],
          "name": "CFL Boardroom ( Sanity Free Sunday )",
          "order": 31,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 106,
          "items": [],
          "name": "rFactor 2",
          "order": 38,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 38,
          "items": [],
          "name": "[*spacer338]____",
          "order": 39,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15,
          "items": [],
          "name": "The land of Beach Babes",
          "order": 43,
          "parent_id": 0,
          "topic": "Once apon a time..."
        },
        {
          "clients": 0,
          "id": 57,
          "items": [],
          "name": "[*spacer336]____",
          "order": 45,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 43,
          "items": [],
          "name": "[*spacer337]____",
          "order": 46,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 49,
          "items": [],
          "name": "[cspacer0]+ + + Other Games + + +",
          "order": 47,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 31,
          "items": [
            {
              "clients": 0,
              "id": 112,
              "items": [],
              "name": "World of (W)Tanks",
              "order": 0,
              "parent_id": 31,
              "topic": ""
            }
          ],
          "name": "World of Warships",
          "order": 48,
          "parent_id": 0,
          "topic": " :P"
        },
        {
          "clients": 0,
          "id": 48,
          "items": [],
          "name": "[*spacer331]____",
          "order": 49,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 50,
          "items": [],
          "name": "[cspacer0]+ + + User Channels + + +",
          "order": 51,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 39,
          "items": [],
          "name": "[cspacer0]+ + + Racing Stuff + + +",
          "order": 52,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 55,
          "items": [],
          "name": "[cspacer0]+ + + Public and Private + + +",
          "order": 53,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1,
          "items": [],
          "name": "General Chat",
          "order": 54,
          "parent_id": 0,
          "topic": "All Clan updated Information is on the Forum - use it"
        },
        {
          "clients": 0,
          "id": 54,
          "items": [],
          "name": "[cspacer0] (.•*´(.•*´ `*•.)`*•.)",
          "order": 55,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 45,
          "items": [],
          "name": "[cspacer0]+ + + Admins + + +",
          "order": 56,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8,
          "items": [],
          "name": "Greys crypto is grAmazing",
          "order": 57,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 46,
          "items": [],
          "name": "[cspacer0]+ + + Moderators + + +",
          "order": 65,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 52,
          "items": [],
          "name": "[*spacer333]____",
          "order": 70,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 70,
          "items": [],
          "name": "rFactor Pitstop",
          "order": 95,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 27,
          "items": [],
          "name": "rFactor - Gone and almost Forgotten",
          "order": 106,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 47,
          "items": [],
          "name": "[*spacer330]____",
          "order": 158,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 51,
          "items": [],
          "name": "[*spacer332]____",
          "order": 174,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 174,
          "items": [
            {
              "clients": 0,
              "id": 194,
              "items": [],
              "name": "Den of Shame",
              "order": 0,
              "parent_id": 174,
              "topic": ""
            }
          ],
          "name": "PIKERS Channel",
          "order": 184,
          "parent_id": 0,
          "topic": "Shenanigans"
        }
      ]
    },
    "external_id": "Rc3Mcft+bSfuJnafYtjrrKG6n/8=",
    "platform": "Windows",
    "created": 1345606672,
    "uptime": 17763608,
    "steam_id": null,
    "domain": null,
    "id": 11142931,
    "ip": "103.52.117.70",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Melbourne",
    "description": "Welcome to RSM",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775903516,
    "score": 0,
    "last_online": 1776034839,
    "icon": null,
    "name": ":Rock Solid Mates: RSM",
    "connect": "103.52.117.70:9987",
    "request": "103.52.117.70:9987",
    "map": null,
    "gamemode": null,
    "version": "3.12.1 Build: 1585305527",
    "numplayers": 1,
    "maxplayers": 187,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1770933680,
    "last_update": 1776034839,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 152,
    "language": "en",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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