JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10824754
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10824754,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"65QUJXCSqi\",\"type\":\"image\",\"data\":{\"caption\":\"BlackBear | Semi-Classic | Nolimit\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/15ee3795-0945-40c3-968f-51eb3c990ea8.png\"}}},{\"id\":\"BsSeLUcIl0\",\"type\":\"paragraph\",\"data\":{\"text\":\"Классический сервер с минимальным количеством модификаций. \\n Вайп раз в две недели \\n Рестарт сервера каждые 00:00 по МСК \\n Магазин - https://blackbearclassic.gamestores.app/ \\n Дискорд - https://discord.gg/WMNJMcUntj\"}}]",
    "game": 252490,
    "owner": 156562,
    "boosts": 1,
    "last_offline": 1770962463,
    "last_online": 1770055212,
    "icon": null,
    "name": "BlackBear - ПЕРЕЕХАЛ 157.90.176.139:20540",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1767378006,
    "last_update": 1770962463,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13522,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "stariychest",
      "avatar": "ee9f975b-399a-40d1-a030-0f3b033c8c9f.jpg"
    },
    "mods": [],
    "disabled_modules": [
      "chat"
    ]
  }
}

Exemple de cod

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