API pentru RightGame TS3 / Сервер сообщества RGMIX.ru

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10733711
json
{
  "response": {
    "channels": {
      "onlinecount": 51,
      "items": [
        {
          "clients": -1,
          "id": 1,
          "items": [],
          "name": "Гостевой канал",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 40,
          "items": [],
          "name": "[*spacer]▂",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8474,
          "items": [
            {
              "clients": 0,
              "id": 16325,
              "items": [],
              "name": "CSSмешарики",
              "order": 0,
              "parent_id": 8474,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 17471,
              "items": [],
              "name": "b3rLog4",
              "order": 8584,
              "parent_id": 8474,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 8584,
              "items": [],
              "name": "недота",
              "order": 16325,
              "parent_id": 8474,
              "topic": ""
            }
          ],
          "name": "tetra",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 36,
          "items": [],
          "name": "[cspacer0]● T E M P O R A R Y ●",
          "order": 35,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 38,
          "items": [],
          "name": "[*cspacer652]═",
          "order": 36,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 23208,
          "items": [],
          "name": "DDD",
          "order": 38,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 42,
          "items": [],
          "name": "[cspacer6992]◢ ø Owners ø ◣",
          "order": 40,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 18485,
          "items": [],
          "name": "[*spacer212123]▂",
          "order": 42,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15931,
          "items": [],
          "name": "[*spacer77]▂",
          "order": 45,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 45,
          "items": [],
          "name": "[cspacer5785]☽ P E R M A N E N T ☾",
          "order": 46,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 17078,
          "items": [],
          "name": "mrshmllw",
          "order": 90,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 17648,
          "items": [],
          "name": "Палата № 6",
          "order": 157,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12221,
          "items": [
            {
              "clients": 0,
              "id": 12686,
              "items": [],
              "name": "outsiders",
              "order": 0,
              "parent_id": 12221,
              "topic": ""
            }
          ],
          "name": "WAGON",
          "order": 917,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15146,
          "items": [
            {
              "clients": 0,
              "id": 15222,
              "items": [],
              "name": "cup",
              "order": 0,
              "parent_id": 15146,
              "topic": ""
            }
          ],
          "name": "FALLSET",
          "order": 7266,
          "parent_id": 0,
          "topic": "THE RUSSIAN MOST WANTED"
        },
        {
          "clients": 0,
          "id": 90,
          "items": [
            {
              "clients": 0,
              "id": 16067,
              "items": [],
              "name": "FLYING PIRATES",
              "order": 0,
              "parent_id": 90,
              "topic": ""
            }
          ],
          "name": "ELST3R ROOM",
          "order": 7679,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 46,
          "items": [],
          "name": "[*spacer4]▂",
          "order": 8267,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7679,
          "items": [],
          "name": "h.",
          "order": 8474,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7266,
          "items": [],
          "name": "Alexander",
          "order": 8625,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8267,
          "items": [],
          "name": "▲ HARDKISS ∞",
          "order": 11269,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 18530,
          "items": [],
          "name": "MoS",
          "order": 12221,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 157,
          "items": [],
          "name": "4old",
          "order": 12899,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 17630,
          "items": [],
          "name": "ROCKETBUNNYs",
          "order": 15146,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 917,
          "items": [
            {
              "clients": 0,
              "id": 12039,
              "items": [],
              "name": "ЖИЖОИД-2",
              "order": 0,
              "parent_id": 917,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 16028,
              "items": [],
              "name": "ЖИЖОИД-3",
              "order": 12039,
              "parent_id": 917,
              "topic": ""
            }
          ],
          "name": "ЖИЖОИД",
          "order": 15294,
          "parent_id": 0,
          "topic": "РЭП"
        },
        {
          "clients": 0,
          "id": 17876,
          "items": [],
          "name": "Спермик",
          "order": 15410,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8,
          "items": [
            {
              "clients": 0,
              "id": 18576,
              "items": [],
              "name": "лучшие",
              "order": 0,
              "parent_id": 8,
              "topic": ""
            }
          ],
          "name": "Май хат вил го он",
          "order": 15931,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 18312,
          "items": [],
          "name": "s'one",
          "order": 16820,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 17493,
          "items": [],
          "name": "Ryodan                       🕷",
          "order": 17078,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12899,
          "items": [
            {
              "clients": 0,
              "id": 15160,
              "items": [],
              "name": "запрет территории",
              "order": 0,
              "parent_id": 12899,
              "topic": ""
            }
          ],
          "name": "jujutsu kaisen",
          "order": 17493,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22568,
          "items": [],
          "name": "warriors",
          "order": 17630,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8625,
          "items": [],
          "name": "-_^",
          "order": 17640,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 19172,
          "items": [],
          "name": "1234",
          "order": 17648,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 16820,
          "items": [],
          "name": "валера депутат",
          "order": 17876,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 18891,
          "items": [],
          "name": "TINDER 10lvl",
          "order": 18310,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 18310,
          "items": [],
          "name": "BaCbl",
          "order": 18312,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11269,
          "items": [],
          "name": "RG Community",
          "order": 18485,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 17640,
          "items": [],
          "name": "nemes1s",
          "order": 18530,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 19211,
          "items": [],
          "name": "ОКАК",
          "order": 18891,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15294,
          "items": [],
          "name": "Llumios",
          "order": 19172,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 21832,
          "items": [],
          "name": "vaib",
          "order": 19211,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 35,
          "items": [],
          "name": "[*spacer652]═",
          "order": 21832,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15410,
          "items": [],
          "name": "Luchsh1y 4elovek planeti",
          "order": 22568,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "voK303nVX2/Fidm30IkZcg5fNSs=",
    "platform": "Linux",
    "created": 1513266569,
    "uptime": 1020611,
    "steam_id": null,
    "domain": "ts.rgmix.eu",
    "id": 10733711,
    "ip": "46.174.52.39",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Moscow",
    "description": "<u>**Голосовой сервер сообщества [RGMIX.ru - RightGame Community](https://rgmix.ru)**</u>\nГруппа в ВК: vk.com/rgmix\nСервер сообщества [RGMIX.ru - RightGame MatchMaking Community](https://rgmix.ru) - CS:Source микс (матч) серверы",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776090712,
    "score": 0,
    "last_online": 1776512420,
    "icon": null,
    "name": "RightGame TS3 / Сервер сообщества RGMIX.ru",
    "connect": "ts.rgmix.eu:9987",
    "request": "46.174.52.39:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 5,
    "maxplayers": 50,
    "bots": 0,
    "secured": null,
    "private": true,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1765549659,
    "last_update": 1776512420,
    "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": 86,
    "language": "ru",
    "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/10733711");
$data = json_decode($json, true);
var_dump($data);