Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11142903
json
{
  "response": {
    "channels": {
      "onlinecount": 99,
      "items": [
        {
          "clients": 0,
          "id": 64,
          "items": [],
          "name": "[spacer12]___",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 297,
          "items": [],
          "name": "[spacer98]-.-",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 57,
          "items": [],
          "name": "[spacer18]___",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 26,
          "items": [],
          "name": "[spacer13]___",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 108,
          "items": [],
          "name": "[spacer14]___",
          "order": 19,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 110,
          "items": [],
          "name": "[spacer11]___",
          "order": 24,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 80,
          "items": [],
          "name": "[cspacer0]-=Clan Channels=-",
          "order": 26,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 239,
          "items": [
            {
              "clients": 0,
              "id": 240,
              "items": [],
              "name": "Lobby #1",
              "order": 0,
              "parent_id": 239,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 241,
              "items": [],
              "name": "Lobby #2",
              "order": 240,
              "parent_id": 239,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=Dota=-",
          "order": 47,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 277,
          "items": [],
          "name": "[cspacer0]PC Build Recommendations",
          "order": 57,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 47,
          "items": [
            {
              "clients": 0,
              "id": 52,
              "items": [],
              "name": "Training",
              "order": 0,
              "parent_id": 47,
              "topic": "CS:GO"
            },
            {
              "clients": 0,
              "id": 49,
              "items": [],
              "name": "Matchmaking #2",
              "order": 48,
              "parent_id": 47,
              "topic": "CS:GO"
            },
            {
              "clients": 0,
              "id": 82,
              "items": [],
              "name": "Matchmaking #3",
              "order": 49,
              "parent_id": 47,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 48,
              "items": [],
              "name": "Matchmaking #1",
              "order": 52,
              "parent_id": 47,
              "topic": "CS:GO"
            }
          ],
          "name": "[cspacer85]-=CS:GO=-",
          "order": 58,
          "parent_id": 0,
          "topic": "Counter-Strike Global Offensive"
        },
        {
          "clients": 0,
          "id": 24,
          "items": [],
          "name": "[cspacer0]-=Willkommen \\p Welcome=-",
          "order": 64,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 217,
          "items": [
            {
              "clients": 0,
              "id": 218,
              "items": [],
              "name": "Team #1",
              "order": 0,
              "parent_id": 217,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 219,
              "items": [],
              "name": "Team #2",
              "order": 218,
              "parent_id": 217,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=World of Warships=-",
          "order": 65,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 10,
          "items": [
            {
              "clients": 0,
              "id": 31,
              "items": [],
              "name": "ARK: Survival Evolved",
              "order": 0,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 201,
              "items": [],
              "name": "Dead by Daylight",
              "order": 11,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 36,
              "items": [],
              "name": "Battlefield",
              "order": 31,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 11,
              "items": [],
              "name": "DayZ",
              "order": 36,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 137,
              "items": [],
              "name": "Rocket League",
              "order": 39,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 88,
              "items": [],
              "name": "H1Z1",
              "order": 73,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 262,
              "items": [],
              "name": "Rainbow Six Siege",
              "order": 88,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 283,
              "items": [],
              "name": "Space Engineers",
              "order": 137,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 73,
              "items": [],
              "name": "Golf with your Friends #niveauvoll",
              "order": 201,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 39,
              "items": [],
              "name": "Rust",
              "order": 262,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 68,
              "items": [],
              "name": "World of Warcraft",
              "order": 283,
              "parent_id": 10,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=Various Games=-",
          "order": 79,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 111,
          "items": [],
          "name": "[spacer15]___",
          "order": 80,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 278,
          "items": [],
          "name": "[cspacer22]-.-",
          "order": 81,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 205,
          "items": [],
          "name": "[cspacer0]TS-IP 212.227.175.61",
          "order": 108,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 19,
          "items": [
            {
              "clients": 0,
              "id": 291,
              "items": [],
              "name": "Cinema",
              "order": 0,
              "parent_id": 19,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 216,
              "items": [],
              "name": "Restaurant",
              "order": 20,
              "parent_id": 19,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 162,
              "items": [],
              "name": "Schnitzelstube (REVIVED)",
              "order": 21,
              "parent_id": 19,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 235,
              "items": [],
              "name": "Basement",
              "order": 83,
              "parent_id": 19,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 286,
              "items": [],
              "name": "Streaming",
              "order": 161,
              "parent_id": 19,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 285,
              "items": [],
              "name": "Dorm",
              "order": 162,
              "parent_id": 19,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 21,
              "items": [],
              "name": "Café",
              "order": 216,
              "parent_id": 19,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 161,
              "items": [],
              "name": "Chillout",
              "order": 235,
              "parent_id": 19,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 83,
              "items": [],
              "name": "Coders Corner",
              "order": 285,
              "parent_id": 19,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 284,
              "items": [],
              "name": "Sofa",
              "order": 286,
              "parent_id": 19,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 20,
              "items": [],
              "name": "Biergarten",
              "order": 291,
              "parent_id": 19,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=Talk House=-",
          "order": 110,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 167,
          "items": [
            {
              "clients": 0,
              "id": 192,
              "items": [
                {
                  "clients": 0,
                  "id": 222,
                  "items": [],
                  "name": "Dota 2 - Ranked",
                  "order": 0,
                  "parent_id": 192,
                  "topic": ""
                }
              ],
              "name": "AWC",
              "order": 0,
              "parent_id": 167,
              "topic": ""
            }
          ],
          "name": "[cspacer50] - AWC -",
          "order": 111,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 58,
          "items": [
            {
              "clients": 0,
              "id": 267,
              "items": [],
              "name": "Antistasi",
              "order": 0,
              "parent_id": 58,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 279,
              "items": [],
              "name": "TaskForceRadio",
              "order": 14,
              "parent_id": 58,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 46,
              "items": [],
              "name": "Battle Royale",
              "order": 25,
              "parent_id": 58,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 61,
              "items": [],
              "name": "KotH",
              "order": 46,
              "parent_id": 58,
              "topic": "King of the Hill"
            },
            {
              "clients": 0,
              "id": 14,
              "items": [],
              "name": "Wasteland",
              "order": 61,
              "parent_id": 58,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 25,
              "items": [],
              "name": "Arma3",
              "order": 267,
              "parent_id": 58,
              "topic": ""
            }
          ],
          "name": "[cspacer65] -=Arma 3=-",
          "order": 152,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 158,
          "items": [],
          "name": "[cspacer88] -=Game Channels=-",
          "order": 153,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 287,
          "items": [],
          "name": "[spacer0]-.-",
          "order": 156,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 152,
          "items": [],
          "name": "[spacer17]___",
          "order": 158,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 236,
          "items": [
            {
              "clients": 0,
              "id": 237,
              "items": [],
              "name": "Lobby #1",
              "order": 0,
              "parent_id": 236,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 238,
              "items": [],
              "name": "Lobby #2",
              "order": 237,
              "parent_id": 236,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=League of Legends=-",
          "order": 159,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 242,
          "items": [],
          "name": "[spacer54]-.-",
          "order": 167,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 81,
          "items": [],
          "name": "[cspacer0]Free Clan Channels",
          "order": 205,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 213,
          "items": [
            {
              "clients": 0,
              "id": 214,
              "items": [],
              "name": "Team #1",
              "order": 0,
              "parent_id": 213,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 215,
              "items": [],
              "name": "Team #2",
              "order": 214,
              "parent_id": 213,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=PUBG=-",
          "order": 209,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 281,
          "items": [
            {
              "clients": 0,
              "id": 134,
              "items": [
                {
                  "clients": 0,
                  "id": 282,
                  "items": [],
                  "name": "Gspeak",
                  "order": 0,
                  "parent_id": 134,
                  "topic": ""
                }
              ],
              "name": "TTT",
              "order": 0,
              "parent_id": 281,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=Garry's Mod=-",
          "order": 213,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 79,
          "items": [],
          "name": "[spacer25]-.-",
          "order": 217,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 248,
          "items": [
            {
              "clients": 0,
              "id": 249,
              "items": [],
              "name": "Channel #1",
              "order": 0,
              "parent_id": 248,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 250,
              "items": [],
              "name": "Channel #2",
              "order": 249,
              "parent_id": 248,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=Minecraft=-",
          "order": 236,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 159,
          "items": [
            {
              "clients": 0,
              "id": 94,
              "items": [],
              "name": "Lobby #1",
              "order": 0,
              "parent_id": 159,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 160,
              "items": [],
              "name": "Lobby #2",
              "order": 94,
              "parent_id": 159,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=Heroes of the Storm=-",
          "order": 239,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 156,
          "items": [
            {
              "clients": 0,
              "id": 87,
              "items": [],
              "name": "Majestic Force [MJ]",
              "order": 0,
              "parent_id": 156,
              "topic": ""
            }
          ],
          "name": "[cspacer50] - Majestic Force -",
          "order": 242,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 209,
          "items": [
            {
              "clients": 0,
              "id": 210,
              "items": [],
              "name": "Group #1",
              "order": 0,
              "parent_id": 209,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 211,
              "items": [],
              "name": "Group #2",
              "order": 210,
              "parent_id": 209,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=Overwatch=-",
          "order": 248,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1,
          "items": [],
          "name": "Eingang \\p Entrance",
          "order": 278,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 65,
          "items": [
            {
              "clients": 0,
              "id": 66,
              "items": [],
              "name": "Squad #1",
              "order": 0,
              "parent_id": 65,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 67,
              "items": [],
              "name": "Squad #2",
              "order": 66,
              "parent_id": 65,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 69,
              "items": [],
              "name": "Training",
              "order": 67,
              "parent_id": 65,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=Warthunder=-",
          "order": 281,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 288,
          "items": [
            {
              "clients": 0,
              "id": 289,
              "items": [],
              "name": "Wonderland",
              "order": 0,
              "parent_id": 288,
              "topic": ""
            }
          ],
          "name": "[cspacer0]- Wonderland -",
          "order": 287,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 293,
          "items": [],
          "name": "[spacer99]-.-",
          "order": 288,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 294,
          "items": [
            {
              "clients": 0,
              "id": 295,
              "items": [],
              "name": "Kranzleramt",
              "order": 0,
              "parent_id": 294,
              "topic": ""
            }
          ],
          "name": "[cspacer0]- Kranzleramt -",
          "order": 293,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 153,
          "items": [],
          "name": "[spacer16]___",
          "order": 294,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 12,
          "items": [
            {
              "clients": 0,
              "id": 292,
              "items": [],
              "name": "Charging-Station",
              "order": 0,
              "parent_id": 12,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 141,
              "items": [],
              "name": "Poke if u need me",
              "order": 9,
              "parent_id": 12,
              "topic": "Poke"
            },
            {
              "clients": 0,
              "id": 9,
              "items": [],
              "name": "AFK >30 Min",
              "order": 13,
              "parent_id": 12,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 13,
              "items": [],
              "name": "AFK <30 Min",
              "order": 292,
              "parent_id": 12,
              "topic": ""
            }
          ],
          "name": "[cspacer0]-=AFK=-",
          "order": 297,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "dqIg5bmLU0aPPoZemsbXrqf2oqc=",
    "platform": "Linux",
    "created": 0,
    "uptime": 278336,
    "steam_id": null,
    "domain": null,
    "id": 11142903,
    "ip": "212.227.175.61",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Essen",
    "description": null,
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776624163,
    "score": 0,
    "last_online": 1776902530,
    "icon": null,
    "name": "ts.nasdero.com",
    "connect": "212.227.175.61:9987",
    "request": "212.227.175.61:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 1,
    "maxplayers": 512,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1770933678,
    "last_update": 1776902530,
    "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": 169,
    "language": "de",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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