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

text
https://api.gamemonitoring.ru/servers/11489238
json
{
  "response": {
    "steam_id": "90284512356023322",
    "domain": null,
    "id": 11489238,
    "ip": "193.19.119.127",
    "port": 12096,
    "query": 12096,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"w6lwLBToMG\",\"type\":\"header\",\"data\":{\"text\":\"Metrostroi_ishok это сервер с добрым комьюнити, админами\",\"level\":1}},{\"id\":\"opxHMzDPKe\",\"type\":\"linkTool\",\"data\":{\"link\":\"https://www.youtube.com/@metrostroiishok9\",\"meta\":{\"description\":\"Ссылка на Discord-сервер: https://discord.gg/zw9r74yxEFIP сервера в Garry's Mod: 193.19.119.127:12096\",\"image\":{\"url\":\"https://yt3.googleusercontent.com/1qcEUMs2lvMYhr6-2HFuEHKTsG2To5qLDVV8adOU9ZBeXlUF1UR-jqPgCzwJt-USBJiE0HkL=s900-c-k-c0x00ffffff-no-rj\"},\"title\":\"Metrostroi Ishok - YouTube\"}}},{\"id\":\"OqXh_VclUc\",\"type\":\"paragraph\",\"data\":{\"text\":\"На сервере есть локальные, правила просьба их соблюдать!!!\"}}]",
    "game": 4000,
    "owner": 188331,
    "boosts": 1,
    "last_offline": 1776322268,
    "score": 5,
    "last_online": 1776341410,
    "icon": null,
    "name": "Metrostroi_ishok",
    "connect": "193.19.119.127:12096",
    "request": "193.19.119.127:12096",
    "map": "gm_metro_virus",
    "gamemode": "Sandbox",
    "version": "2025.03.26",
    "numplayers": 0,
    "maxplayers": 15,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 4,
    "points": 106,
    "add_date": 1776195527,
    "last_update": 1776341410,
    "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": 13,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 30,
      "steam_id": 4000,
      "name": "Garry's Mod",
      "url": "garrys-mod"
    },
    "server_owner": {
      "username": "ishok",
      "avatar": "7a68f3f2-a019-4236-8841-cce5a1cdcc5f.png",
      "last_online": 1776335728
    },
    "mods": [
      {
        "id": 1838,
        "name": "Metrostroi"
      }
    ],
    "disabled_modules": []
  }
}

Примеры кода

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