JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11142858
json
{
  "response": {
    "channels": {
      "onlinecount": 27,
      "items": [
        {
          "clients": 0,
          "id": 28549,
          "items": [],
          "name": "[*cspacer0]═",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 4306,
          "items": [],
          "name": "AFK",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 87176,
          "items": [],
          "name": "[*cspacer7]═",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 28554,
          "items": [],
          "name": "[*cspacer1]═",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 28558,
          "items": [],
          "name": "[*cspacer2]═",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 28565,
          "items": [],
          "name": "[*cspacer9]═",
          "order": 2900,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 28561,
          "items": [],
          "name": "[*cspacer5]═",
          "order": 4306,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 136547,
          "items": [
            {
              "clients": 4,
              "id": 152410,
              "items": [],
              "name": "VIPINIS",
              "order": 0,
              "parent_id": 136547,
              "topic": ""
            }
          ],
          "name": "[*cspacer3]═",
          "order": 28547,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6,
          "items": [],
          "name": "[cspacer0]Administracija",
          "order": 28549,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "Administracija",
          "order": 28554,
          "parent_id": 0,
          "topic": "▻ Powered by MIxas.eu ▻"
        },
        {
          "clients": 0,
          "id": 28547,
          "items": [],
          "name": "[cspacer0]V.I.P Kanalai",
          "order": 28558,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1,
          "items": [],
          "name": "Pagrindinis",
          "order": 28560,
          "parent_id": 0,
          "topic": "Dėl ilgalaikių kanalų pm bet kurį adminą, arba skype: xedga-beribu"
        },
        {
          "clients": 0,
          "id": 28562,
          "items": [],
          "name": "[*cspacer6]═",
          "order": 28561,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5,
          "items": [],
          "name": "[cspacer0]Privatūs Kanalai",
          "order": 28562,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2900,
          "items": [],
          "name": "[cspacer0]Laikini Kanalai",
          "order": 28564,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 154425,
          "items": [],
          "name": "a",
          "order": 28565,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 141707,
          "items": [],
          "name": "CS2 God",
          "order": 87176,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 28560,
          "items": [],
          "name": "[*cspacer4]═",
          "order": 136547,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 152260,
          "items": [],
          "name": "Ryznet",
          "order": 141707,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 149365,
          "items": [],
          "name": "vioska",
          "order": 146835,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 146835,
          "items": [],
          "name": "1944",
          "order": 147758,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 153297,
          "items": [],
          "name": "siknyniu irstva v2",
          "order": 149365,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 152805,
          "items": [],
          "name": "Rust'as",
          "order": 152260,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 147758,
          "items": [],
          "name": "Pentagoonas( savo chaneli kurkit cmo)",
          "order": 152805,
          "parent_id": 0,
          "topic": "CIA TIK NORMALUS IEINA"
        },
        {
          "clients": 0,
          "id": 28564,
          "items": [],
          "name": "[*cspacer8]═",
          "order": 153297,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 154431,
          "items": [],
          "name": "3232",
          "order": 154425,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "OKpJI3Qdl5UyWby9joCuD84AOlk=",
    "platform": "Linux",
    "created": 1362908750,
    "uptime": 3277790,
    "steam_id": null,
    "domain": "ts.mixas.eu",
    "id": 11142858,
    "ip": "94.176.237.227",
    "port": 9987,
    "query": 9987,
    "project_id": null,
    "color": 0,
    "city": "Vilnius",
    "description": "Dėl ilgalaikių kanalų kreiptis į adminus arba xedga - steam: pri2sk, discord: xedga",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779532413,
    "last_online": 1781304624,
    "icon": null,
    "name": "www.MIXas.eu » TeamSpeak 3",
    "connect": "ts.mixas.eu:9987",
    "request": "94.176.237.227:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 16,
    "maxplayers": 512,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "LT",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1770933677,
    "last_update": 1781304624,
    "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": 97,
    "language": "lt",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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