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

text
https://api.gamemonitoring.ru/servers/14596033
json
{
  "response": {
    "paused": false,
    "season": "winter",
    "secondaries": {
      "480975554": {
        "id": "480975554",
        "port": 25005,
        "__addr": "34.212.135.0",
        "steamid": "90292120760508421"
      }
    },
    "directory_id": "e4461c5815fd1826ddd5118dc3580148",
    "steam_id": null,
    "domain": null,
    "id": 14596033,
    "ip": "34.212.135.0",
    "port": 25000,
    "query": 25000,
    "project_id": null,
    "color": 0,
    "city": "Бордман",
    "description": null,
    "game": 322330,
    "owner": null,
    "boosts": 1,
    "last_offline": 1788554459,
    "last_online": 1788590402,
    "icon": null,
    "name": "Birchnut Tree - US West - Public Server",
    "connect": "34.212.135.0:25000",
    "request": "34.212.135.0:25000",
    "map": null,
    "gamemode": "survival",
    "version": "747465",
    "numplayers": 2,
    "maxplayers": 12,
    "bots": null,
    "secured": null,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 42,
    "add_date": 1788554459,
    "last_update": 1788590402,
    "ban_reason": null,
    "banned": false,
    "hidden": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": 0,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11696,
    "language": "en",
    "parked": false,
    "app": {
      "id": 147,
      "steam_id": 322330,
      "name": "Don't Starve Together",
      "url": "dont-starve-together"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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