JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/11724718
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11724718,
    "ip": "135.181.237.37",
    "port": 25887,
    "query": 25887,
    "color": 0,
    "city": "Helsinki",
    "description": null,
    "game": 9000034,
    "owner": 197957,
    "boosts": 1,
    "last_offline": 1780412064,
    "last_online": 1780555812,
    "icon": null,
    "name": "⚔ MaybeWorld · [1.13x–1.19x] · ОТКРЫТИЕ ⚔ ⚔ Новое летнее приключение! Заходи! ⚔",
    "connect": "135.181.237.37:25887",
    "request": "135.181.237.37:25887",
    "map": null,
    "gamemode": null,
    "version": "1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "FI",
    "status": true,
    "votes": 2,
    "points": 162,
    "add_date": 1780340844,
    "last_update": 1780555812,
    "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": 4,
    "language": "fi",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": {
      "username": "artyom_romanov",
      "avatar": "583a0edb-1461-4899-b602-8f579a80346b.webp"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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