JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11637410
json
{
  "response": {
    "channels": {
      "onlinecount": 115,
      "items": [
        {
          "clients": 0,
          "id": 52,
          "items": [],
          "name": "[*spacer104]",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 49,
          "items": [],
          "name": "[*spacer101]",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 16,
          "items": [
            {
              "clients": 0,
              "id": 4,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 16,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 267,
              "items": [],
              "name": "#2",
              "order": 4,
              "parent_id": 16,
              "topic": ""
            }
          ],
          "name": "⚡ Major",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 9,
          "items": [],
          "name": "[cspacer1]٠•★Kanały Prywatne★•٠",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10,
          "items": [
            {
              "clients": 0,
              "id": 17,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 10,
              "topic": ""
            }
          ],
          "name": "#1 Mufc",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8,
          "items": [],
          "name": "[*spacer2]===",
          "order": 9,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 60,
          "items": [
            {
              "clients": 0,
              "id": 61,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 60,
              "topic": ""
            }
          ],
          "name": "#2 New",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 40,
          "items": [],
          "name": "[csspacer]☆Zarząd serwera TS3☆",
          "order": 11,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13,
          "items": [],
          "name": "[cspacer1]٠•★Strefa Administracji★•٠",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11,
          "items": [],
          "name": "[*spacer10]===",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 23,
          "items": [
            {
              "clients": 0,
              "id": 24,
              "items": [],
              "name": "╔» 1# Kanał Publiczny MAX 2",
              "order": 0,
              "parent_id": 23,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 25,
              "items": [],
              "name": "╠» 2# Kanał Publiczny MAX 2",
              "order": 24,
              "parent_id": 23,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 26,
              "items": [],
              "name": "╚» 3# Kanał Publiczny MAX 2",
              "order": 25,
              "parent_id": 23,
              "topic": ""
            }
          ],
          "name": "٠•★ MAX 2",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 42,
          "items": [
            {
              "clients": 0,
              "id": 5,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 42,
              "topic": ""
            }
          ],
          "name": "⚡ Sasuke",
          "order": 16,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 98,
          "items": [],
          "name": "[*spacer112]===",
          "order": 18,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "[*spacer1]===",
          "order": 19,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1,
          "items": [],
          "name": "[cspacer1]٠•★ POCZEKALNIA ★•٠",
          "order": 20,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 14,
          "items": [],
          "name": "[*spacer5]===",
          "order": 21,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 21,
          "items": [],
          "name": "[cspacer1]٠•★Kanały Publiczne★•٠",
          "order": 22,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 27,
          "items": [
            {
              "clients": 0,
              "id": 28,
              "items": [],
              "name": "╔» 1# Kanał Publiczny MAX 3",
              "order": 0,
              "parent_id": 27,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 29,
              "items": [],
              "name": "╠» 2# Kanał Publiczny MAX 3",
              "order": 28,
              "parent_id": 27,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 30,
              "items": [],
              "name": "╚» 3# Kanał Publiczny MAX 3",
              "order": 29,
              "parent_id": 27,
              "topic": ""
            }
          ],
          "name": "٠•★ MAX 3",
          "order": 23,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 31,
          "items": [
            {
              "clients": 0,
              "id": 32,
              "items": [],
              "name": "╔» 1# Kanał Publiczny MAX 4",
              "order": 0,
              "parent_id": 31,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 33,
              "items": [],
              "name": "╠» 2# Kanał Publiczny MAX 4",
              "order": 32,
              "parent_id": 31,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 34,
              "items": [],
              "name": "╚» 2# Kanał Publiczny MAX 4",
              "order": 33,
              "parent_id": 31,
              "topic": ""
            }
          ],
          "name": "٠•★ MAX 4",
          "order": 27,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 35,
          "items": [
            {
              "clients": 0,
              "id": 36,
              "items": [],
              "name": "╔» 1# Kanał Publiczny MAX 5",
              "order": 0,
              "parent_id": 35,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 37,
              "items": [],
              "name": "╠» 2# Kanał Publiczny MAX 5",
              "order": 36,
              "parent_id": 35,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 38,
              "items": [],
              "name": "╚» 3# Kanał Publiczny MAX 5",
              "order": 37,
              "parent_id": 35,
              "topic": ""
            }
          ],
          "name": "٠•★ MAX 5",
          "order": 31,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 19,
          "items": [],
          "name": "[cspacer2]",
          "order": 35,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2,
          "items": [
            {
              "clients": 0,
              "id": 6,
              "items": [],
              "name": "ZAPRASZAMY NA DISCORDA, KTÓRY JUŻ DZIAŁA",
              "order": 0,
              "parent_id": 2,
              "topic": ""
            }
          ],
          "name": "⚡ Adi",
          "order": 40,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 43,
          "items": [
            {
              "clients": 0,
              "id": 44,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 43,
              "topic": ""
            }
          ],
          "name": "⚡  Killua",
          "order": 41,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 41,
          "items": [],
          "name": "[csspacer]☆Administracja serwera TS3☆",
          "order": 42,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 48,
          "items": [],
          "name": "[*spacer100]",
          "order": 43,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 46,
          "items": [],
          "name": "[cspacer1]٠•★ SUPPORT ★•٠",
          "order": 45,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 164,
          "items": [],
          "name": "[*spacer6]===",
          "order": 46,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 45,
          "items": [],
          "name": "[*spacer12]===",
          "order": 48,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22,
          "items": [],
          "name": "[*spacer8]===",
          "order": 49,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 102,
          "items": [],
          "name": "[cspacer2]┏╋━━━━━━◥◣◆◢◤━━━━━━╋┓",
          "order": 50,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 100,
          "items": [],
          "name": "[csspacer]☆Lista Administracji TS3☆",
          "order": 51,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 97,
          "items": [],
          "name": "[*spacer108]===",
          "order": 52,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12,
          "items": [],
          "name": "[*spacer4]===",
          "order": 53,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 101,
          "items": [],
          "name": "[cspacer1]┏╋━━━━━━◥◣◆◢◤━━━━━━╋┓",
          "order": 54,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 57,
          "items": [
            {
              "clients": 0,
              "id": 159,
              "items": [],
              "name": "☆DISCORD INFORMACJE",
              "order": 0,
              "parent_id": 57,
              "topic": ""
            }
          ],
          "name": "📌 Sprawa do Admina DISCORDA",
          "order": 55,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 18,
          "items": [],
          "name": "[cspacer1]",
          "order": 56,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 56,
          "items": [],
          "name": "📌 Sprawa do Admina CS2",
          "order": 57,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 50,
          "items": [],
          "name": "[*spacer102]",
          "order": 59,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 62,
          "items": [
            {
              "clients": 0,
              "id": 63,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 62,
              "topic": ""
            }
          ],
          "name": "#3 Adi i Baku",
          "order": 60,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 66,
          "items": [
            {
              "clients": 0,
              "id": 67,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 66,
              "topic": ""
            }
          ],
          "name": "#4 Palix",
          "order": 62,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 68,
          "items": [
            {
              "clients": 0,
              "id": 69,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 68,
              "topic": ""
            }
          ],
          "name": "#6 Aszaz",
          "order": 64,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 64,
          "items": [
            {
              "clients": 0,
              "id": 65,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 64,
              "topic": ""
            }
          ],
          "name": "#5 aaPaweł",
          "order": 66,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 71,
          "items": [
            {
              "clients": 0,
              "id": 72,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 71,
              "topic": ""
            }
          ],
          "name": "#7 Skurwiwij",
          "order": 68,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 73,
          "items": [
            {
              "clients": 0,
              "id": 74,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 73,
              "topic": ""
            }
          ],
          "name": "#8 U Najsa",
          "order": 71,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 75,
          "items": [
            {
              "clients": 0,
              "id": 76,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 75,
              "topic": ""
            }
          ],
          "name": "#9 Panda",
          "order": 73,
          "parent_id": 0,
          "topic": "Ą"
        },
        {
          "clients": 0,
          "id": 77,
          "items": [
            {
              "clients": 0,
              "id": 78,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 77,
              "topic": ""
            }
          ],
          "name": "#10 Moka",
          "order": 75,
          "parent_id": 0,
          "topic": "24/09/25"
        },
        {
          "clients": 0,
          "id": 81,
          "items": [
            {
              "clients": 0,
              "id": 82,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 81,
              "topic": ""
            }
          ],
          "name": "#11 Dildos",
          "order": 77,
          "parent_id": 0,
          "topic": "Albo jebiesz albo jestes jebany"
        },
        {
          "clients": 0,
          "id": 83,
          "items": [
            {
              "clients": 0,
              "id": 84,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 83,
              "topic": ""
            }
          ],
          "name": "12# OSKI",
          "order": 81,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 85,
          "items": [
            {
              "clients": 0,
              "id": 86,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 85,
              "topic": ""
            }
          ],
          "name": "#13 Seta I Galareta",
          "order": 83,
          "parent_id": 0,
          "topic": "23,08,2025"
        },
        {
          "clients": 0,
          "id": 89,
          "items": [
            {
              "clients": 0,
              "id": 91,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 89,
              "topic": ""
            }
          ],
          "name": "#14 Don Brudaso",
          "order": 85,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 90,
          "items": [
            {
              "clients": 0,
              "id": 92,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 90,
              "topic": ""
            }
          ],
          "name": "#15 Przydałaby Się Trzecia Dziura",
          "order": 89,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 106,
          "items": [
            {
              "clients": 0,
              "id": 107,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 106,
              "topic": ""
            }
          ],
          "name": "#16 Bucień",
          "order": 90,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 103,
          "items": [],
          "name": "[cspacer1]┗╋━━━━━◥◣◆◢◤━━━━━╋┛",
          "order": 96,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 59,
          "items": [],
          "name": "[cspacer1]٠•☆★cs-placzabaw.pl ★☆•٠",
          "order": 97,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 54,
          "items": [],
          "name": "[*spacer106]",
          "order": 98,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 105,
          "items": [],
          "name": "[cspacer2]┗╋━━━━━◥◣◆◢◤━━━━━╋┛",
          "order": 99,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 53,
          "items": [],
          "name": "[*spacer105]",
          "order": 100,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 96,
          "items": [],
          "name": "[cspacer1]☆ LISTA SERWERÓW ☆",
          "order": 101,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 99,
          "items": [],
          "name": "[csspacer]☆REGULAMIN®☆",
          "order": 102,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 20,
          "items": [],
          "name": "[cspacer3]",
          "order": 103,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 51,
          "items": [],
          "name": "[*spacer103]",
          "order": 105,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 108,
          "items": [
            {
              "clients": 0,
              "id": 109,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 108,
              "topic": ""
            }
          ],
          "name": "#17 noelo",
          "order": 106,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 110,
          "items": [
            {
              "clients": 0,
              "id": 113,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 110,
              "topic": ""
            }
          ],
          "name": "#18 Erwin",
          "order": 108,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 111,
          "items": [
            {
              "clients": 0,
              "id": 114,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 111,
              "topic": ""
            }
          ],
          "name": "#19 PUTIN KURWA",
          "order": 110,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 112,
          "items": [
            {
              "clients": 0,
              "id": 115,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 112,
              "topic": ""
            }
          ],
          "name": "#20 Narnia i przyjaciele",
          "order": 111,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 244,
          "items": [
            {
              "clients": 0,
              "id": 245,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 244,
              "topic": ""
            }
          ],
          "name": "#21 Adzik1231",
          "order": 112,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 55,
          "items": [
            {
              "clients": 0,
              "id": 157,
              "items": [],
              "name": "☆Chcę otrzymać KANAŁ PRYWATNY",
              "order": 0,
              "parent_id": 55,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 158,
              "items": [],
              "name": "☆Chcę otrzymać RANGĘ",
              "order": 157,
              "parent_id": 55,
              "topic": ""
            }
          ],
          "name": "📌 Sprawa do Admina TS3",
          "order": 164,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 271,
          "items": [
            {
              "clients": 0,
              "id": 272,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 271,
              "topic": ""
            }
          ],
          "name": "#22 Doktorek",
          "order": 244,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 294,
          "items": [
            {
              "clients": 0,
              "id": 295,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 294,
              "topic": ""
            }
          ],
          "name": "#23 atrox",
          "order": 271,
          "parent_id": 0,
          "topic": "nick atrox piszemy TYLKO Z MAŁYCH"
        },
        {
          "clients": 0,
          "id": 301,
          "items": [
            {
              "clients": 0,
              "id": 302,
              "items": [],
              "name": "#1",
              "order": 0,
              "parent_id": 301,
              "topic": ""
            }
          ],
          "name": "#23 Franio",
          "order": 294,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 615,
          "items": [],
          "name": "cso4ka",
          "order": 301,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "ApAyCUZV0qmyEp54JYFIqJfHQiM=",
    "platform": "Linux",
    "created": 1647365563,
    "uptime": 66065458,
    "steam_id": null,
    "domain": null,
    "id": 11637410,
    "ip": "54.37.234.152",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Wroclaw",
    "description": "Witamy ;)\nWitamy ;)",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780279989,
    "last_online": 1780110019,
    "icon": null,
    "name": "ts3.cs-placzabaw.pl",
    "connect": "54.37.234.152:9987",
    "request": "54.37.234.152:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "PL",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779917080,
    "last_update": 1780279989,
    "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": 183,
    "language": "pl",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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