JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10601176
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10601176,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"8Qhcii03nz\",\"type\":\"linkTool\",\"data\":{\"link\":\"https://discord.gg/McEcBTdeZd\",\"meta\":{\"description\":\"Ознакомьтесь с сообществом «𝐎𝐑𝐈𝐆𝐈𝐍𝐙 𝐏𝐕𝐄» в Discord. Весело проводите время с участниками сообщества, которых уже 37 чел., и пользуйтесь бесплатным голосовы\",\"image\":{\"url\":\"https://cdn.discordapp.com/splashes/1422718568398852118/b6d17b670719678faf8bdb7915325717.jpg?size=512\"},\"title\":\"𝐎𝐑𝐈𝐆𝐈𝐍𝐙 𝐏𝐕𝐄\"}}},{\"id\":\"hbep4TiN8B\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/05d66c24-b966-4e83-b001-b7b409beeb92.png\"}}}]",
    "game": 221100,
    "owner": 145985,
    "boosts": 1,
    "last_offline": 1767852053,
    "last_online": 1766946018,
    "icon": null,
    "name": "[RU] OriginZ Project PVE",
    "connect": null,
    "request": null,
    "map": "chernarusplus",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 60,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1763111119,
    "last_update": 1767852053,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13755,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 63,
      "steam_id": 221100,
      "name": "DayZ",
      "url": "dayz"
    },
    "server_owner": {
      "username": "kotedesign",
      "avatar": "no.jpg"
    },
    "mods": [
      {
        "id": 1614,
        "name": "VPPAdminTools"
      },
      {
        "id": 1799,
        "name": "DayZ Expansion Core"
      },
      {
        "id": 1864,
        "name": "DayZ-Expansion-AI"
      },
      {
        "id": 1609,
        "name": "DayZ-Expansion-Licensed"
      },
      {
        "id": 1802,
        "name": "@DayZ Expansion Vehicles"
      },
      {
        "id": 1866,
        "name": "DayZ-Expansion-Quests"
      }
    ],
    "disabled_modules": []
  }
}

Codebeispiele

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