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

text
https://api.gamemonitoring.ru/servers/1988075
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 1988075,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"y3wnn3v69\",\"type\":\"paragraph\",\"data\":{\"text\":\"Недавний CS2 сервер с большим будущем в данный момент сервер в бета тестирование, но будет рады каждому\\nВК - https://vk.com/gorkiyproject\\nСайт - https://gorkiyproject.ru\\n\\n\"}}]",
    "game": 730,
    "owner": 24479,
    "boosts": 1,
    "last_offline": 1750456974,
    "score": 5,
    "last_online": 1746211829,
    "icon": null,
    "name": "[CS2] Горький PUBLIC #1 | !KNIFE !SKINS !VIPTEST",
    "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": 1701176065,
    "last_update": 1750456974,
    "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": 12853,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "Chets888434883",
      "avatar": "no.jpg",
      "last_online": 1738591966
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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