JSON for programs, websites and more

text
https://api.gamemonitoring.net/servers/11142914
json
{
  "response": {
    "channels": {
      "onlinecount": 15,
      "items": [
        {
          "clients": 0,
          "id": 8,
          "items": [],
          "name": "[spacer0]---------------------------",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13,
          "items": [],
          "name": "COD4 Channel",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1,
          "items": [],
          "name": "Chit chat room",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 14,
          "items": [
            {
              "clients": 0,
              "id": 15,
              "items": [],
              "name": "TEAM 1",
              "order": 0,
              "parent_id": 14,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 16,
              "items": [
                {
                  "clients": 0,
                  "id": 7,
                  "items": [],
                  "name": "TS Files",
                  "order": 0,
                  "parent_id": 16,
                  "topic": ""
                }
              ],
              "name": "TEAM 2",
              "order": 15,
              "parent_id": 14,
              "topic": ""
            }
          ],
          "name": "Match Channels",
          "order": 9,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 9,
          "items": [
            {
              "clients": 0,
              "id": 10,
              "items": [],
              "name": "Gone for a Beer",
              "order": 0,
              "parent_id": 9,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 11,
              "items": [],
              "name": "Gone for a Smoke",
              "order": 10,
              "parent_id": 9,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 12,
              "items": [],
              "name": "Gone for a Shit",
              "order": 11,
              "parent_id": 9,
              "topic": ""
            }
          ],
          "name": "Away Channel",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 21,
          "items": [
            {
              "clients": 0,
              "id": 25,
              "items": [],
              "name": "Main Server",
              "order": 0,
              "parent_id": 21,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 31,
              "items": [],
              "name": "Website/TS",
              "order": 22,
              "parent_id": 21,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 22,
              "items": [],
              "name": "Test Server",
              "order": 25,
              "parent_id": 21,
              "topic": ""
            }
          ],
          "name": "Working On",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "fmYt1v5t/+N7vWr3Oysd2B2Bwj8=",
    "platform": "Linux",
    "created": 1630357535,
    "uptime": 2550406,
    "steam_id": null,
    "domain": null,
    "id": 11142914,
    "ip": "37.120.184.155",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Nuremberg",
    "description": "Welcome to =SA=TeamSpeak, check sexyassassins.co.uk for latest information\nWelcome to ultimate =SA= gaming",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776090712,
    "score": 0,
    "last_online": 1776897618,
    "icon": null,
    "name": "ts3.sexycod4.de",
    "connect": "37.120.184.155:9987",
    "request": "37.120.184.155:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 1,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": true,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1770933678,
    "last_update": 1776897618,
    "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": 129,
    "language": "de",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Code examples

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