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

text
https://api.gamemonitoring.ru/servers/1206367
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 1206367,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"usjqwwun1\",\"type\":\"image\",\"data\":{\"caption\":\"$РУССКИЙ | RUSSIA | Для Новичко�\",\"withBorder\":false,\"withBackground\":false,\"stretched\":true,\"file\":{\"url\":\"https://pic.survivalhost.org/images/2024/03/11/undefined---Imgur.jpg\"}}},{\"id\":\"z0klv8qhg\",\"type\":\"list\",\"data\":{\"style\":\"unordered\",\"items\":[\"Размер карты 4250.\",\"Вайп раз в неделю. По четвергам\",\"Нет ограничений по количеству игроков в команде.\",\"Разрешены кланы и союзы.\",\"Содержание шкафа снижено на 60 процентов\",\"Добавлены переработчики, НПЗ и дроны в рыбацкие деревни и ранчо.\",\"Администрация доступна 24/7, готовая помочь в любых вопросах.\"]}},{\"id\":\"xq3tnuq4u\",\"type\":\"paragraph\",\"data\":{\"text\":\"Наш сайт: russia1rust.gamestores.app/ \\nГруппа ВКонтакте: vk.com/russia_rust_ru\\nНаш сервер в Discord: discord.gg/russiarust\\nСвязь с администрацией в Telegram: t.me/RussiaRust\"}}]",
    "game": 252490,
    "owner": 66145,
    "boosts": 1,
    "last_offline": 1753434896,
    "score": 2,
    "last_online": 1750606828,
    "icon": null,
    "name": "Name is not set on server",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": null,
    "numplayers": 0,
    "maxplayers": 300,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1691955283,
    "last_update": 1753434896,
    "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": 6495,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "Makc",
      "avatar": "feade945-f778-401f-9e65-e889bfe77ef2.jpg",
      "last_online": 1735876146
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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