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

text
https://api.gamemonitoring.ru/servers/14173787
json
{
  "response": {
    "steam_id": "90291779340472350",
    "domain": null,
    "id": 14173787,
    "ip": "15.235.132.86",
    "port": 22238,
    "query": 22239,
    "project_id": null,
    "color": 0,
    "city": "Сингапур",
    "description": null,
    "game": 892970,
    "owner": null,
    "boosts": 1,
    "last_offline": 1787974971,
    "last_online": 1788014559,
    "icon": null,
    "name": "\"Witchy Abode!\"",
    "connect": "15.235.132.86:22238",
    "request": "15.235.132.86:22239",
    "map": "\"Witchy Abode!\"",
    "gamemode": null,
    "version": "0.221.12",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "SG",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1787909003,
    "last_update": 1788014559,
    "ban_reason": null,
    "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": 14169,
    "language": "en",
    "parked": false,
    "app": {
      "id": 34967,
      "steam_id": 892970,
      "name": "Valheim",
      "url": "valheim"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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