JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/6746410
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 6746410,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"wn7A6_0Zj-\",\"type\":\"paragraph\",\"data\":{\"text\":\"Данный сервер предназначен для комфортной и душевной игры!\\nНаши преимущества:\\n1.Никаких лагов\\n2.Skinschanger (Менять скины на какие захочется)\\n3.Адекватное комьюнити\\nСкорее заходи играть 🎮\"}},{\"id\":\"e_njqsjnMx\",\"type\":\"paragraph\",\"data\":{\"text\":\"Наш дискорд: [https://dsc.gg/sbrodsquad](https://dsc.gg/sbrodsquad)\\nНаш Сайт: [https://sbrodsquad.ru/](https://sbrodsquad.ru/)\"}}]",
    "game": 730,
    "owner": 92749,
    "boosts": 1,
    "last_offline": 1761066199,
    "last_online": 1759309819,
    "icon": null,
    "name": "CSTRIKE2.RU / PUBLIC / !KNIFE !SKINS",
    "connect": null,
    "request": null,
    "map": "de_mirage",
    "gamemode": "Counter-Strike 2",
    "version": null,
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1732636669,
    "last_update": 1761066199,
    "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": 14954,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "bear32r",
      "avatar": "74ac4bd1-71fb-40c8-9c05-61dd6807f776.jpg"
    },
    "mods": [],
    "disabled_modules": [
      "chat"
    ]
  }
}

Exemple de cod

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