JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11143519
json
{
  "response": {
    "channels": {
      "onlinecount": 51,
      "items": [
        {
          "clients": 2,
          "id": 1,
          "items": [],
          "name": "Гостевой канал",
          "order": 0,
          "parent_id": 0,
          "topic": "Default Channel has no topic"
        },
        {
          "clients": 0,
          "id": 76931,
          "items": [],
          "name": "ONLINE RADIO \\p Radio Record",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 3,
          "items": [],
          "name": "[cspacer1]Постоянные каналы",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 12,
          "items": [],
          "name": "[cspacer3]Хочешь свой канал?",
          "order": 3,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 78281,
          "items": [],
          "name": "kukum",
          "order": 4,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 7,
          "items": [],
          "name": "[cspacer2]Временные каналы",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 8,
          "items": [],
          "name": "[*cspacer4]-",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 133868,
          "items": [],
          "name": "csmashik",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 132,
          "items": [],
          "name": "[cspacer7]>> Посмотри описание <<",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 4,
          "items": [],
          "name": "[*spacer2]-",
          "order": 132,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 78381,
          "items": [],
          "name": "ONLINE RADIO \\p Radio <Маятник Фуко>",
          "order": 76931,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 78298,
          "items": [],
          "name": "thenlao",
          "order": 78281,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 79606,
          "items": [],
          "name": "U-M-B-R-E-L-L-A",
          "order": 78298,
          "parent_id": 0,
          "topic": "ЕВА ОНЛАЙН"
        },
        {
          "clients": -1,
          "id": 2,
          "items": [],
          "name": "[*spacer1]-",
          "order": 78381,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 79651,
          "items": [],
          "name": "Компуктеры",
          "order": 79606,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 80687,
          "items": [],
          "name": "TRAA",
          "order": 79651,
          "parent_id": 0,
          "topic": "Болтаем, играем, обсуждаем"
        },
        {
          "clients": 0,
          "id": 82049,
          "items": [],
          "name": "samikbtw channel",
          "order": 80687,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 84369,
          "items": [],
          "name": "мясорубка бравых комрадов",
          "order": 82049,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 84489,
          "items": [],
          "name": "BUTOVO",
          "order": 84369,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 85862,
          "items": [],
          "name": "WoT☜❶☞BOMBASTER☜❶☞",
          "order": 84489,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 86837,
          "items": [],
          "name": "радмилка тим",
          "order": 85862,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 87647,
          "items": [],
          "name": "stars",
          "order": 86837,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 92510,
          "items": [],
          "name": "контра",
          "order": 87647,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 94903,
          "items": [],
          "name": "Т9",
          "order": 92510,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 95992,
          "items": [],
          "name": "DEEEEEP",
          "order": 94903,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 98576,
          "items": [],
          "name": "Пати фейсит анскиллов",
          "order": 95992,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 99710,
          "items": [],
          "name": "BATTLE♛❻♛TANKBLITZ♛❻♛",
          "order": 98576,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 101239,
          "items": [],
          "name": "Doll",
          "order": 99710,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 101786,
          "items": [],
          "name": "Борода",
          "order": 101239,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 102843,
          "items": [],
          "name": "valorant сургут россия",
          "order": 101786,
          "parent_id": 0,
          "topic": "на дне стакана харибо"
        },
        {
          "clients": 0,
          "id": 103227,
          "items": [],
          "name": "Крипы-мечники",
          "order": 102843,
          "parent_id": 0,
          "topic": "CS2"
        },
        {
          "clients": 0,
          "id": 104708,
          "items": [],
          "name": "Krya Team [Disbanded]",
          "order": 103227,
          "parent_id": 0,
          "topic": "FaceIT ESEA League"
        },
        {
          "clients": 0,
          "id": 110265,
          "items": [],
          "name": "бдо",
          "order": 104708,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 113518,
          "items": [],
          "name": "зшлд322",
          "order": 110265,
          "parent_id": 0,
          "topic": "нига"
        },
        {
          "clients": 0,
          "id": 114278,
          "items": [],
          "name": "Rolls Royce",
          "order": 113518,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 115035,
          "items": [],
          "name": "Влажные Клоуны",
          "order": 114278,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 115456,
          "items": [],
          "name": "V1Rae Channel",
          "order": 115035,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 116239,
          "items": [],
          "name": "mental",
          "order": 115456,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 119332,
          "items": [],
          "name": "tarkov_zaluta",
          "order": 116239,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 123036,
          "items": [],
          "name": "пацыки",
          "order": 119332,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 123245,
          "items": [],
          "name": "БЕДОЛАГИ",
          "order": 123036,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 124612,
          "items": [],
          "name": "VO'CO",
          "order": 123245,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 127552,
          "items": [],
          "name": "BIBIZAN",
          "order": 124612,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 131706,
          "items": [],
          "name": "qwer",
          "order": 127552,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 133155,
          "items": [],
          "name": "APEX",
          "order": 131706,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 6,
          "items": [],
          "name": "[*spacer3]-",
          "order": 133155,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 133869,
          "items": [],
          "name": "Rust",
          "order": 133868,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 133977,
          "items": [],
          "name": "latiw",
          "order": 133869,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 133980,
          "items": [],
          "name": "вход онли для няшек =3",
          "order": 133977,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 133990,
          "items": [],
          "name": "windowwws7",
          "order": 133980,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 134002,
          "items": [],
          "name": "щемилово",
          "order": 133990,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "KtLp32e6IOeq60o5qNBQWeg/R2M=",
    "platform": "Linux",
    "created": 1728492097,
    "uptime": 70168,
    "steam_id": null,
    "domain": null,
    "id": 11143519,
    "ip": "5.129.240.153",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Moscow",
    "description": "По вопросу создания постоянного канала обращайтесь в телегу https://t.me/padr1no\ngm.link/u82681",
    "game": 9000043,
    "owner": 82681,
    "boosts": 1,
    "last_offline": 1780207435,
    "last_online": 1780279218,
    "icon": null,
    "name": "Игровое сообщество Euro-Cs.Ru",
    "connect": "5.129.240.153:9987",
    "request": "5.129.240.153:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.8 Build: 1779874471",
    "numplayers": 13,
    "maxplayers": 512,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 96,
    "add_date": 1772040632,
    "last_update": 1780279218,
    "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": 10,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": {
      "username": "xbox1995",
      "avatar": "no.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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