JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10126109
json
{
  "response": {
    "channels": {
      "onlinecount": 17,
      "items": [
        {
          "clients": 0,
          "id": 1,
          "items": [],
          "name": "[*spacer]-",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2,
          "items": [],
          "name": "[cspacer]1453 - Community",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 3,
          "items": [],
          "name": "[*spacer1]-",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 4,
          "items": [],
          "name": "☰ Query Room ®",
          "order": 3,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5,
          "items": [],
          "name": "☰ Administrator Room ®",
          "order": 4,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "☰ Private Room #1",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12,
          "items": [],
          "name": "☰ 7/24 Live Music",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8,
          "items": [],
          "name": "☰ Private Room #2",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 11,
          "items": [],
          "name": "☰ Music Room",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10,
          "items": [],
          "name": "☰ Lobby",
          "order": 9,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6,
          "items": [],
          "name": "[*spacer2]-",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 9,
          "items": [],
          "name": "[*spacer3]-",
          "order": 11,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13,
          "items": [],
          "name": "☰ Away From Keyboard ☕",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 14,
          "items": [],
          "name": "[*spacer4]-",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15,
          "items": [],
          "name": "[cspacer] ↓GECICI ODA-TEMPORARY ROOMS↓",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 16,
          "items": [],
          "name": "[*spacer5]-",
          "order": 15,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "b8tsFXQzNWoTH+jG6nMDzrv0WB8=",
    "platform": "Linux",
    "created": 1562073693,
    "uptime": 33181,
    "steam_id": null,
    "domain": null,
    "id": 10126109,
    "ip": "37.230.60.99",
    "port": 9987,
    "query": 10011,
    "color": 0,
    "city": "Ankara",
    "description": "TkyNET — Profesyonel TeamSpeak 3 Sunucuları\nYüksek uptime garantisi ve düşük ping değerleriyle oyun deneyiminizi kesintisiz sürdürün. Yurt içi ve yurt dışı lokasyonlu özel DDoS koruma altyapımızla sunucularınız her an güvende. Lisanslı ve kaliteli sesli iletişim çözümlerimiz için [tky.net.tr](https://www.tky.net.tr/ts3-satin-al) adresini ziyaret edebilirsiniz.",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776200507,
    "score": 0,
    "last_online": 1776523813,
    "icon": null,
    "name": "Ts3 Satın Al",
    "connect": "37.230.60.99:9987",
    "request": "37.230.60.99:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 31,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": true,
    "country": "TR",
    "status": true,
    "votes": 0,
    "points": 101,
    "add_date": 1755807911,
    "last_update": 1776523813,
    "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": 12,
    "language": "tr",
    "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/10126109");
$data = json_decode($json, true);
var_dump($data);