面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10269688
json
{
  "response": {
    "channels": {
      "onlinecount": 85,
      "items": [
        {
          "clients": 1,
          "id": 31,
          "items": [],
          "name": "1st",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 827575,
          "items": [],
          "name": "Rez776",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 694627,
          "items": [],
          "name": "dota 3",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 8,
          "items": [],
          "name": "Секс по тимспику",
          "order": 31,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 59135,
          "items": [],
          "name": "M1x0ne",
          "order": 12804,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 72790,
          "items": [],
          "name": "Arena Breakout",
          "order": 59135,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 271911,
          "items": [],
          "name": "vikingRise400",
          "order": 72790,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 296179,
          "items": [],
          "name": "Багати ричи",
          "order": 271911,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 300976,
          "items": [],
          "name": "[cspacer] ~",
          "order": 271912,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 377613,
          "items": [],
          "name": "CHILLOUT ZONE",
          "order": 296179,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 300977,
          "items": [],
          "name": "[cspacer]",
          "order": 300976,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1,
          "items": [],
          "name": "Spawn",
          "order": 300977,
          "parent_id": 0,
          "topic": "Default Channel has no topic"
        },
        {
          "clients": 0,
          "id": 391963,
          "items": [],
          "name": "Бубенцы",
          "order": 377613,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 399942,
          "items": [],
          "name": "bankai",
          "order": 391963,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 400271,
          "items": [],
          "name": "Hueta",
          "order": 399942,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 404905,
          "items": [],
          "name": "Veid",
          "order": 400271,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 415150,
          "items": [],
          "name": "ZHLRUSH",
          "order": 404905,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 450921,
          "items": [],
          "name": "Постоянный канал",
          "order": 415150,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 591971,
          "items": [],
          "name": "[cspacer][cspacer][cspacer][cspacer]",
          "order": 433956,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 571787,
          "items": [],
          "name": "Электричка \"Барнаул - Новокузнецк\"",
          "order": 450921,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 602351,
          "items": [],
          "name": "WPPL",
          "order": 571787,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12804,
          "items": [],
          "name": "BetBoom",
          "order": 591918,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 433956,
          "items": [
            {
              "clients": 0,
              "id": 553327,
              "items": [],
              "name": "asd",
              "order": 0,
              "parent_id": 433956,
              "topic": ""
            }
          ],
          "name": "uWu",
          "order": 591970,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 591918,
          "items": [],
          "name": "etomuoperatoraostav",
          "order": 591971,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 606551,
          "items": [],
          "name": "🐸🐸🐸Шалашик🐸🐸🐸",
          "order": 602351,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 651667,
          "items": [],
          "name": "ХЭППИ ТРИ ФРЕНДС",
          "order": 606551,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 653705,
          "items": [],
          "name": "aziatki",
          "order": 651667,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 655879,
          "items": [],
          "name": "Bregan D'aerthe",
          "order": 653705,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 671273,
          "items": [],
          "name": "da da net net",
          "order": 655879,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 679358,
          "items": [],
          "name": "МожноАзачем",
          "order": 671273,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 684532,
          "items": [],
          "name": "Север",
          "order": 679358,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 701890,
          "items": [],
          "name": "poxuidobeg",
          "order": 684532,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 591970,
          "items": [],
          "name": "[cspacer][cspacer]",
          "order": 694627,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 726139,
          "items": [],
          "name": "MISTER",
          "order": 701890,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 730122,
          "items": [],
          "name": "Team LF",
          "order": 714313,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 714313,
          "items": [],
          "name": "Team HTN",
          "order": 726139,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 743809,
          "items": [],
          "name": "❌❌❌❌Faceit killer 2.0❌❌❌❌",
          "order": 730122,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 271912,
          "items": [],
          "name": "[cspacer][cspacer][cspacer]",
          "order": 743809,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 830575,
          "items": [],
          "name": "zaza",
          "order": 827575,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 838421,
          "items": [],
          "name": "КОРТИЗОЛ НА МИНИМУМ",
          "order": 830575,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 838948,
          "items": [],
          "name": "клоп",
          "order": 838421,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 841819,
          "items": [],
          "name": "метолик",
          "order": 838948,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 845020,
          "items": [],
          "name": "Wivan",
          "order": 841819,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 845141,
          "items": [],
          "name": "ТАРКОВ!!",
          "order": 845020,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 845181,
          "items": [],
          "name": "ЙЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЦЙЙЙЙЙЙЙЙЙЙЙЙЙЙ",
          "order": 845141,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 845473,
          "items": [],
          "name": "Аризона",
          "order": 845181,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 845565,
          "items": [],
          "name": "Дмитрий",
          "order": 845473,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 845638,
          "items": [],
          "name": "qwerty123",
          "order": 845565,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 845765,
          "items": [],
          "name": "123333333",
          "order": 845638,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 845881,
          "items": [],
          "name": "2222",
          "order": 845765,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846022,
          "items": [],
          "name": "`312132123132123",
          "order": 845881,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846154,
          "items": [],
          "name": "ЕКККК",
          "order": 846022,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846156,
          "items": [],
          "name": "вцйвй",
          "order": 846154,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 846675,
          "items": [],
          "name": "jopa",
          "order": 846156,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 846717,
          "items": [],
          "name": "cs bogi",
          "order": 846675,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 846723,
          "items": [],
          "name": "xxl2",
          "order": 846717,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846755,
          "items": [],
          "name": "сссссссссссссссссссссссссссссссссссссссс",
          "order": 846723,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846773,
          "items": [],
          "name": "фцвфвыввфы",
          "order": 846755,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846780,
          "items": [],
          "name": "АЛЮШШ",
          "order": 846773,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846800,
          "items": [],
          "name": "kikikikikik",
          "order": 846780,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846807,
          "items": [],
          "name": "1221",
          "order": 846800,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846833,
          "items": [],
          "name": "ГГГГГГГГГГГГГГГГГ",
          "order": 846807,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846858,
          "items": [],
          "name": "prime era",
          "order": 846833,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846861,
          "items": [],
          "name": "drain всосавший",
          "order": 846858,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846862,
          "items": [],
          "name": "daur",
          "order": 846861,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 846868,
          "items": [],
          "name": "креветки не геи (геи)",
          "order": 846862,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 846869,
          "items": [],
          "name": "abas",
          "order": 846868,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846870,
          "items": [],
          "name": "вааааааааааааааааааааппппппппппппппппппп",
          "order": 846869,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 846871,
          "items": [],
          "name": "??????????",
          "order": 846870,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846872,
          "items": [],
          "name": "борыга",
          "order": 846871,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846874,
          "items": [],
          "name": "Нахуй имя канала.",
          "order": 846872,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846876,
          "items": [],
          "name": "ПЧЕЛЫ",
          "order": 846874,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846877,
          "items": [],
          "name": "SD-SPERM DONOR",
          "order": 846876,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846881,
          "items": [],
          "name": "сысапсыа",
          "order": 846877,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846883,
          "items": [],
          "name": "Биба И Боба",
          "order": 846881,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846885,
          "items": [],
          "name": "snus",
          "order": 846883,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846886,
          "items": [],
          "name": "сычсысысысысыс123",
          "order": 846885,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846887,
          "items": [],
          "name": "укн",
          "order": 846886,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846888,
          "items": [],
          "name": "копать228",
          "order": 846887,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846889,
          "items": [],
          "name": "Toswa",
          "order": 846888,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846890,
          "items": [],
          "name": "GHFDEYIUDBGHBFDIUYFDHGNDDFGFDG",
          "order": 846889,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846891,
          "items": [],
          "name": "Пьер Дун",
          "order": 846890,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 846892,
          "items": [],
          "name": "мамина",
          "order": 846891,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 846893,
          "items": [],
          "name": "nemosh",
          "order": 846892,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "8a1+t1Q8dqV7xou5meHiOSRM4ZQ=",
    "platform": "Linux",
    "created": 1728679874,
    "uptime": 1047700,
    "steam_id": null,
    "domain": "you.are.bot",
    "id": 10269688,
    "ip": "5.42.211.211",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Moscow",
    "description": "Welcome to chasm\nНайти канал: CTRL + F => Название",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779235982,
    "last_online": 1780285214,
    "icon": null,
    "name": "chasm",
    "connect": "you.are.bot:9987",
    "request": "5.42.211.211:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 85,
    "maxplayers": 1500,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 109,
    "add_date": 1757093024,
    "last_update": 1780285214,
    "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": 5,
    "language": "ru",
    "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.cn/servers/10269688");
$data = json_decode($json, true);
var_dump($data);