API pentru Gildia.org - Polska otwarta społeczność DCS World

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11142912
json
{
  "response": {
    "channels": {
      "onlinecount": 119,
      "items": [
        {
          "clients": 0,
          "id": 27,
          "items": [],
          "name": "[*spacer1]--",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 30,
          "items": [
            {
              "clients": 0,
              "id": 80,
              "items": [],
              "name": "Rejestracja Gildia.org",
              "order": 0,
              "parent_id": 30,
              "topic": ""
            },
            {
              "clients": 1,
              "id": 31,
              "items": [],
              "name": "Poczekalnia",
              "order": 80,
              "parent_id": 30,
              "topic": "Rekrutacja - prosimy o chwilę cierpliwości oraz kontakt z osobami oznaczonymi jako wsp. techniczne"
            }
          ],
          "name": "Strefa otwarta dla wszystkich",
          "order": 27,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 309,
          "items": [],
          "name": "[*spacer2]--",
          "order": 30,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 206,
          "items": [],
          "name": "[*spacer5]--",
          "order": 32,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 307,
          "items": [],
          "name": "[*spacer6]...",
          "order": 50,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 204,
          "items": [],
          "name": "Strefa instruktorów",
          "order": 52,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 180,
          "items": [],
          "name": "[*spacer7]...",
          "order": 58,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 308,
          "items": [],
          "name": "[*spacer6]--",
          "order": 60,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 52,
          "items": [],
          "name": "Strefa techniczna",
          "order": 180,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 72,
          "items": [],
          "name": "Strefa administracyjna",
          "order": 204,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 60,
          "items": [
            {
              "clients": 0,
              "id": 268,
              "items": [],
              "name": "Lecimy coś?",
              "order": 0,
              "parent_id": 60,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 283,
              "items": [],
              "name": "Dynamic Syria",
              "order": 65,
              "parent_id": 60,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 65,
              "items": [],
              "name": "Dynamic Kauka",
              "order": 242,
              "parent_id": 60,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 242,
              "items": [],
              "name": "Gildiański Range",
              "order": 268,
              "parent_id": 60,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 165,
              "items": [
                {
                  "clients": 0,
                  "id": 212,
                  "items": [],
                  "name": "Ogólny",
                  "order": 0,
                  "parent_id": 165,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 213,
                  "items": [],
                  "name": "Egzamin 2",
                  "order": 211,
                  "parent_id": 165,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 211,
                  "items": [],
                  "name": "Egzamin",
                  "order": 212,
                  "parent_id": 165,
                  "topic": ""
                }
              ],
              "name": "Szkółka",
              "order": 276,
              "parent_id": 60,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 303,
              "items": [],
              "name": "Dynamic Niemcy",
              "order": 283,
              "parent_id": 60,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 276,
              "items": [],
              "name": "Inne serwery",
              "order": 303,
              "parent_id": 60,
              "topic": ""
            }
          ],
          "name": "Strefa rozgrywki DCS",
          "order": 206,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 58,
          "items": [
            {
              "clients": 0,
              "id": 305,
              "items": [],
              "name": "(De)briefing area [Tutaj omawiamy misje]",
              "order": 0,
              "parent_id": 58,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 43,
              "items": [],
              "name": "Magic [Tutaj gramy - AWACS]",
              "order": 41,
              "parent_id": 58,
              "topic": "Tutaj gramy jeśli obejmujemy slot AWACS."
            },
            {
              "clients": 0,
              "id": 41,
              "items": [],
              "name": "USS George Bush [Tutaj gramy - BLUE]",
              "order": 42,
              "parent_id": 58,
              "topic": "Tutaj dołączamy jeśli gramy PVP i lecimy stroną BLUE."
            },
            {
              "clients": 0,
              "id": 266,
              "items": [],
              "name": "Misje humanitarne",
              "order": 43,
              "parent_id": 58,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 88,
              "items": [
                {
                  "clients": 0,
                  "id": 249,
                  "items": [],
                  "name": "Apache 1",
                  "order": 0,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 100,
                  "items": [],
                  "name": "Chevy 2",
                  "order": 89,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 101,
                  "items": [],
                  "name": "Colt 2",
                  "order": 90,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 102,
                  "items": [],
                  "name": "Dodge 2",
                  "order": 91,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 103,
                  "items": [],
                  "name": "Enfield 2",
                  "order": 92,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 104,
                  "items": [],
                  "name": "Ford 2",
                  "order": 93,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 105,
                  "items": [],
                  "name": "Pontiac 2",
                  "order": 94,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 106,
                  "items": [],
                  "name": "Springfield 2",
                  "order": 95,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 107,
                  "items": [],
                  "name": "Uzi 2",
                  "order": 96,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 259,
                  "items": [],
                  "name": "Beeper 2",
                  "order": 98,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 186,
                  "items": [],
                  "name": "Chevy 3",
                  "order": 100,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 89,
                  "items": [],
                  "name": "Chevy 1",
                  "order": 101,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 187,
                  "items": [],
                  "name": "Dodge 3",
                  "order": 102,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 93,
                  "items": [],
                  "name": "Ford 1",
                  "order": 103,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 253,
                  "items": [],
                  "name": "Hornet 1",
                  "order": 104,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 188,
                  "items": [],
                  "name": "Pontiac 3",
                  "order": 105,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 221,
                  "items": [],
                  "name": "Springfield 3",
                  "order": 106,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 193,
                  "items": [],
                  "name": "Uzi 3",
                  "order": 107,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 246,
                  "items": [],
                  "name": "Devil 1",
                  "order": 186,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 92,
                  "items": [],
                  "name": "Enfield 1",
                  "order": 187,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 189,
                  "items": [],
                  "name": "Pontiac 4",
                  "order": 188,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 273,
                  "items": [],
                  "name": "Ram 1",
                  "order": 189,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 289,
                  "items": [],
                  "name": "Viper 1",
                  "order": 193,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 267,
                  "items": [],
                  "name": "Squid 1",
                  "order": 221,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 258,
                  "items": [],
                  "name": "Tommy Gun 2",
                  "order": 236,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 95,
                  "items": [],
                  "name": "Springfield 1",
                  "order": 243,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 269,
                  "items": [],
                  "name": "Devil 6",
                  "order": 246,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 251,
                  "items": [],
                  "name": "Apache 2",
                  "order": 249,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 98,
                  "items": [],
                  "name": "Beeper 1",
                  "order": 251,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 260,
                  "items": [],
                  "name": "Hornet 2",
                  "order": 253,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 301,
                  "items": [],
                  "name": "Roman 2",
                  "order": 255,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 96,
                  "items": [],
                  "name": "Uzi 1",
                  "order": 258,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 90,
                  "items": [],
                  "name": "Colt 1",
                  "order": 259,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 292,
                  "items": [],
                  "name": "Jarhead 2",
                  "order": 260,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 270,
                  "items": [],
                  "name": "Sting 1",
                  "order": 267,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 91,
                  "items": [],
                  "name": "Dodge 1",
                  "order": 269,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 236,
                  "items": [],
                  "name": "Tommy Gun 1",
                  "order": 270,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 274,
                  "items": [],
                  "name": "Ram 2",
                  "order": 273,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 275,
                  "items": [],
                  "name": "Ram 3",
                  "order": 274,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 255,
                  "items": [],
                  "name": "Roman 1",
                  "order": 275,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 94,
                  "items": [],
                  "name": "Pontiac 1",
                  "order": 281,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 281,
                  "items": [],
                  "name": "Joker 1",
                  "order": 292,
                  "parent_id": 88,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 243,
                  "items": [],
                  "name": "Snake 1",
                  "order": 301,
                  "parent_id": 88,
                  "topic": ""
                }
              ],
              "name": "Strefa lotów [nie przeszkadzać]",
              "order": 266,
              "parent_id": 58,
              "topic": "Tutaj latamy"
            },
            {
              "clients": 0,
              "id": 42,
              "items": [],
              "name": "Admiral Kuznetsov [Tutaj gramy - RED]",
              "order": 305,
              "parent_id": 58,
              "topic": "Tutaj dołączamy jeśli gramy PVP i lecimy stroną RED."
            }
          ],
          "name": "Flight Ops - Tutaj gramy misje oficjalne",
          "order": 307,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 50,
          "items": [
            {
              "clients": 0,
              "id": 295,
              "items": [],
              "name": "1BLWL",
              "order": 0,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 151,
              "items": [
                {
                  "clients": 0,
                  "id": 152,
                  "items": [],
                  "name": "Alpha",
                  "order": 0,
                  "parent_id": 151,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 153,
                  "items": [],
                  "name": "Bravo",
                  "order": 152,
                  "parent_id": 151,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 218,
                  "items": [],
                  "name": "Charlie",
                  "order": 153,
                  "parent_id": 151,
                  "topic": ""
                }
              ],
              "name": "VFA-418",
              "order": 68,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 197,
              "items": [
                {
                  "clients": 0,
                  "id": 198,
                  "items": [],
                  "name": "Sztokholm",
                  "order": 0,
                  "parent_id": 197,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 199,
                  "items": [],
                  "name": "Malmo",
                  "order": 198,
                  "parent_id": 197,
                  "topic": ""
                }
              ],
              "name": "vF 21",
              "order": 78,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 68,
              "items": [
                {
                  "clients": 0,
                  "id": 240,
                  "items": [],
                  "name": "Carrier Qual",
                  "order": 0,
                  "parent_id": 68,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 224,
                  "items": [],
                  "name": "NAS Fallon",
                  "order": 122,
                  "parent_id": 68,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 122,
                  "items": [],
                  "name": "02",
                  "order": 123,
                  "parent_id": 68,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 123,
                  "items": [],
                  "name": "01",
                  "order": 240,
                  "parent_id": 68,
                  "topic": ""
                }
              ],
              "name": "VFA-313",
              "order": 82,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 78,
              "items": [
                {
                  "clients": 0,
                  "id": 125,
                  "items": [],
                  "name": "Trening #1",
                  "order": 0,
                  "parent_id": 78,
                  "topic": ""
                }
              ],
              "name": "UH-1 CSAR",
              "order": 83,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 294,
              "items": [],
              "name": "72nd TFS",
              "order": 139,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 155,
              "items": [
                {
                  "clients": 0,
                  "id": 157,
                  "items": [],
                  "name": "MCAS Miramar",
                  "order": 0,
                  "parent_id": 155,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 159,
                  "items": [],
                  "name": "RAAF Base Darwin",
                  "order": 157,
                  "parent_id": 155,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 195,
                  "items": [],
                  "name": "Warfighter CVN-73",
                  "order": 159,
                  "parent_id": 155,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 156,
                  "items": [],
                  "name": "Kanał otwarty",
                  "order": 195,
                  "parent_id": 155,
                  "topic": ""
                }
              ],
              "name": "VMFA-117",
              "order": 146,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 146,
              "items": [
                {
                  "clients": 0,
                  "id": 177,
                  "items": [],
                  "name": "Recepcja",
                  "order": 0,
                  "parent_id": 146,
                  "topic": ""
                }
              ],
              "name": "VFS-333",
              "order": 151,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 200,
              "items": [
                {
                  "clients": 0,
                  "id": 201,
                  "items": [],
                  "name": "NAS Oceana",
                  "order": 0,
                  "parent_id": 200,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 202,
                  "items": [],
                  "name": "Khatami Air Base [Isfahan]",
                  "order": 201,
                  "parent_id": 200,
                  "topic": ""
                }
              ],
              "name": "VF-31 Tomcatters",
              "order": 197,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 82,
              "items": [
                {
                  "clients": 0,
                  "id": 147,
                  "items": [],
                  "name": "Przedpokój",
                  "order": 0,
                  "parent_id": 82,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 148,
                  "items": [],
                  "name": "ночной город",
                  "order": 147,
                  "parent_id": 82,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 154,
                  "items": [],
                  "name": "Tu sie stoi i sie kibicuje",
                  "order": 148,
                  "parent_id": 82,
                  "topic": ""
                }
              ],
              "name": "VFA-203",
              "order": 200,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 139,
              "items": [
                {
                  "clients": 0,
                  "id": 163,
                  "items": [],
                  "name": "Pokój-1",
                  "order": 0,
                  "parent_id": 139,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 164,
                  "items": [],
                  "name": "Pokój-2",
                  "order": 163,
                  "parent_id": 139,
                  "topic": ""
                }
              ],
              "name": "6th TIGERS",
              "order": 277,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 83,
              "items": [],
              "name": "SGPSz",
              "order": 294,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 277,
              "items": [
                {
                  "clients": 0,
                  "id": 278,
                  "items": [],
                  "name": "1",
                  "order": 0,
                  "parent_id": 277,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 279,
                  "items": [],
                  "name": "2",
                  "order": 278,
                  "parent_id": 277,
                  "topic": ""
                }
              ],
              "name": "492nd vFS",
              "order": 295,
              "parent_id": 50,
              "topic": ""
            }
          ],
          "name": "Kanały grupowe",
          "order": 308,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 32,
          "items": [
            {
              "clients": 0,
              "id": 33,
              "items": [],
              "name": "Alpha",
              "order": 0,
              "parent_id": 32,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 34,
              "items": [],
              "name": "Bravo",
              "order": 33,
              "parent_id": 32,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 244,
              "items": [],
              "name": "Charlie",
              "order": 34,
              "parent_id": 32,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 36,
              "items": [],
              "name": "Zulu",
              "order": 35,
              "parent_id": 32,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 35,
              "items": [],
              "name": "Yankee [nie przeszkadzać]",
              "order": 67,
              "parent_id": 32,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 245,
              "items": [],
              "name": "Delta",
              "order": 244,
              "parent_id": 32,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 67,
              "items": [],
              "name": "Whiskey [nie przeszkadzać]",
              "order": 245,
              "parent_id": 32,
              "topic": ""
            }
          ],
          "name": "Kanały ogólne",
          "order": 309,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "bqSmZvmLg7IRW8VnynGC6V9E9uU=",
    "platform": "Linux",
    "created": 1505591991,
    "uptime": 67247113,
    "steam_id": null,
    "domain": null,
    "id": 11142912,
    "ip": "65.108.176.235",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Nuremberg",
    "description": "Dołącz do zbiórki na serwer Gildia DCS - https://patronite.pl/gildiadcs \nWitamy na serwerze TeamSpeak polskiej społeczności DCS World",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1770933678,
    "score": 0,
    "last_online": 1776048013,
    "icon": null,
    "name": "Gildia.org - Polska otwarta społeczność DCS World",
    "connect": "65.108.176.235:9987",
    "request": "65.108.176.235:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.6 Build: 1623234157",
    "numplayers": 1,
    "maxplayers": 128,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1770933678,
    "last_update": 1776048013,
    "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": 148,
    "language": "de",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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