JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/3077579
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 3077579,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "🔸WAKARUST[X5|TP|KIT|EVENT]🔸\n● IP: client.connect 95.217.108.108:20580\n● Максимальный размер команды: Nolimit\n● Карта:Custom Map\n● Добыча ресурсов: Х5/X10\n● Стаки ресурсов: 100000\n● Стартовые киты / Автокит / Привилегии\n● Рестарт сервера каждый день в 03:00 по МСК\n● Вайп\n● Игровой магазин: https://wakarust.ru/\n● Сообщество ВК: https://vk.com/wakadet\n● Дискорд: https://discord.com/invite/ADJx6VDKJM",
    "game": 252490,
    "owner": 53809,
    "boosts": 1,
    "last_offline": 1750457066,
    "last_online": 1713747627,
    "icon": null,
    "name": "NoLimit | X3",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "FI",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1708797632,
    "last_update": 1750457066,
    "banned": false,
    "wipe": 1712279928,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13008,
    "language": "fi",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "sashadet",
      "avatar": "b6eb4178-33de-4445-9161-fb8e53f2f01e.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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