JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11489052
json
{
  "response": {
    "channels": {
      "onlinecount": 78,
      "items": [
        {
          "clients": -1,
          "id": 8,
          "items": [
            {
              "clients": -1,
              "id": 14906,
              "items": [],
              "name": "альтухи",
              "order": 0,
              "parent_id": 8,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 3,
              "items": [],
              "name": "Вход = бан + дуддос",
              "order": 14906,
              "parent_id": 8,
              "topic": ""
            }
          ],
          "name": "Секс по тимспику",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108522,
          "items": [],
          "name": "вывыв",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "666",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 37070,
          "items": [],
          "name": "[spacer]",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 48281,
          "items": [],
          "name": "Оверпики",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2,
          "items": [],
          "name": "999",
          "order": 138,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 67576,
          "items": [],
          "name": "zima",
          "order": 10535,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 1,
          "items": [],
          "name": "[cspacer] Spawn",
          "order": 37070,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 49777,
          "items": [],
          "name": "барвиха лакшери",
          "order": 48281,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10535,
          "items": [],
          "name": "icytoxic",
          "order": 49777,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 138,
          "items": [
            {
              "clients": 0,
              "id": 10425,
              "items": [],
              "name": "ещё одни тупые няшки",
              "order": 0,
              "parent_id": 138,
              "topic": ""
            }
          ],
          "name": "тупые няшки",
          "order": 67576,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 108596,
          "items": [],
          "name": "КОЛЯ Я ЗДЕСЬ",
          "order": 108522,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108645,
          "items": [],
          "name": "aloha86",
          "order": 108596,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108649,
          "items": [],
          "name": "шрамгей",
          "order": 108645,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108660,
          "items": [],
          "name": "67676767676767",
          "order": 108649,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108662,
          "items": [],
          "name": "527",
          "order": 108660,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108664,
          "items": [],
          "name": "АА",
          "order": 108662,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108665,
          "items": [],
          "name": "174",
          "order": 108664,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108671,
          "items": [],
          "name": "ZUS",
          "order": 108665,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108682,
          "items": [],
          "name": "ww",
          "order": 108671,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108683,
          "items": [],
          "name": "52",
          "order": 108682,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108692,
          "items": [],
          "name": "ывцуаа",
          "order": 108683,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108694,
          "items": [],
          "name": "мейджор",
          "order": 108692,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 108697,
          "items": [],
          "name": ".RushB",
          "order": 108694,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108700,
          "items": [],
          "name": "norm",
          "order": 108697,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108709,
          "items": [],
          "name": "111111",
          "order": 108700,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108715,
          "items": [],
          "name": "14",
          "order": 108709,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 108717,
          "items": [],
          "name": "TUVA",
          "order": 108715,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108720,
          "items": [],
          "name": "1414",
          "order": 108717,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108721,
          "items": [],
          "name": "300",
          "order": 108720,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108723,
          "items": [],
          "name": "lalllllalalalalaa",
          "order": 108721,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108725,
          "items": [],
          "name": "67676676767",
          "order": 108723,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108726,
          "items": [],
          "name": "Первый див или не заходи",
          "order": 108725,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108727,
          "items": [],
          "name": "wow",
          "order": 108726,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108729,
          "items": [],
          "name": "писькотрясы",
          "order": 108727,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 108731,
          "items": [],
          "name": "негне",
          "order": 108729,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108732,
          "items": [],
          "name": "BobrKurwa",
          "order": 108731,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108739,
          "items": [],
          "name": "VAVAVAVAVAVAVA",
          "order": 108732,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108740,
          "items": [],
          "name": "Zet Goidin",
          "order": 108739,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 108742,
          "items": [],
          "name": "ффффффффф",
          "order": 108740,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108743,
          "items": [],
          "name": "no_mirage",
          "order": 108742,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108744,
          "items": [],
          "name": "MAKEDONIYA",
          "order": 108743,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108746,
          "items": [],
          "name": "сбор бомжиков",
          "order": 108744,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108747,
          "items": [],
          "name": "1111111111111111",
          "order": 108746,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108748,
          "items": [],
          "name": "fafa",
          "order": 108747,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108749,
          "items": [],
          "name": "bro",
          "order": 108748,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108750,
          "items": [],
          "name": "Что главное в женщине? Душа",
          "order": 108749,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108751,
          "items": [],
          "name": "пидоры",
          "order": 108750,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108752,
          "items": [],
          "name": "псыыыыыыыыыыыы",
          "order": 108751,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108753,
          "items": [],
          "name": "ФЛЫФДФСРЩЛ",
          "order": 108752,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 108756,
          "items": [],
          "name": "ДИСОЧКА-ДИСКОРД",
          "order": 108753,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 7,
          "id": 108759,
          "items": [],
          "name": "Кайзер",
          "order": 108756,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108760,
          "items": [],
          "name": "1488",
          "order": 108759,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108762,
          "items": [],
          "name": "3111",
          "order": 108760,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108764,
          "items": [],
          "name": "2222",
          "order": 108762,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108765,
          "items": [],
          "name": "Zaitseff",
          "order": 108764,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108766,
          "items": [],
          "name": "dfsdsds",
          "order": 108765,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108767,
          "items": [],
          "name": "сосамба",
          "order": 108766,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108770,
          "items": [],
          "name": "123",
          "order": 108767,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108771,
          "items": [],
          "name": "саша пидор",
          "order": 108770,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108772,
          "items": [],
          "name": "гта",
          "order": 108771,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108773,
          "items": [],
          "name": "zzzzzzzzz",
          "order": 108772,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108774,
          "items": [],
          "name": "яйца",
          "order": 108773,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108775,
          "items": [],
          "name": "ДОВХАЦ!ИЙ",
          "order": 108774,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 108776,
          "items": [],
          "name": "йцу",
          "order": 108775,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 108777,
          "items": [],
          "name": "2",
          "order": 108776,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108778,
          "items": [],
          "name": "321321",
          "order": 108777,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108780,
          "items": [],
          "name": "ZAVOD",
          "order": 108778,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108781,
          "items": [],
          "name": "рома романчук",
          "order": 108780,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108782,
          "items": [],
          "name": "пиупиувиувиу",
          "order": 108781,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108783,
          "items": [],
          "name": "ПОЕ",
          "order": 108782,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108785,
          "items": [],
          "name": "Еноты-полоскуны",
          "order": 108783,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108787,
          "items": [],
          "name": "кс",
          "order": 108785,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108788,
          "items": [],
          "name": "513",
          "order": 108787,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108789,
          "items": [],
          "name": "260425",
          "order": 108788,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108790,
          "items": [],
          "name": "досмотрю кинч",
          "order": 108789,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "GkZuV3dGYaiaE1+3ok+RVcXzyWw=",
    "platform": "Linux",
    "created": 1702251402,
    "uptime": 4391900,
    "steam_id": null,
    "domain": null,
    "id": 11489052,
    "ip": "94.154.1.110",
    "port": 9987,
    "query": 10011,
    "color": 0,
    "city": "Nuremberg",
    "description": "Welcome to void, check deylary.t.me\nНайти канал: CTRL + F => Название",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780292045,
    "last_online": 1780427419,
    "icon": null,
    "name": "void",
    "connect": "94.154.1.110:9987",
    "request": "94.154.1.110:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 155,
    "maxplayers": 256,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 95,
    "add_date": 1776028815,
    "last_update": 1780427419,
    "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": 27,
    "language": "de",
    "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/11489052");
$data = json_decode($json, true);
var_dump($data);