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

text
https://api.gamemonitoring.ru/servers/2062207
json
{
  "response": {
    "modded": true,
    "fps": 327,
    "fps_avg": 329,
    "entities_count": 95076,
    "world_seed": 1,
    "world_size": 4000,
    "steam_id": "90286057187268617",
    "domain": null,
    "id": 2062207,
    "ip": "185.189.255.106",
    "port": 35400,
    "query": 35410,
    "color": 0,
    "city": "Moscow",
    "description": "![СЛАБЫЙ#2 x2 max3 | ДЛЯ НОВИЧКОВ | 16.05](https://pic.survivalhost.org/images/2024/09/26/355e783ff2313dcf.jpg)\nСЛАБЫЙ#2 X2 max3\r\nКлассический сервер с минимальными изменениями\r\n→ Компактная классическая карта • FPS++\r\n→ В рыбацких деревнях, на ранчо и в амбарах есть переработчики, станции дронов и НПЗ\r\n→ Содержание шкафа снижено на 50%\r\n→ Ресурсы x2  |  Компоненты x2  |  Стаки x2\r\n→ Лимит команды: max3\r\nЕсли у вас проблема с загрузкой подключайтесь много раз, сервер подстроит ссылку для карты под вас\r\n\r\nТГ: t.me/slabrust",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779420217,
    "last_online": 1779496226,
    "icon": null,
    "name": "СЛАБЫЙ#2 x2 max3 | ДЛЯ НОВИЧКОВ | 16.05",
    "connect": "185.189.255.106:35400",
    "request": "185.189.255.106:35410",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1701761188,
    "last_update": 1779496226,
    "banned": false,
    "wipe": 1778911454,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2827,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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