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

text
https://api.gamemonitoring.ru/servers/14851462
json
{
  "response": {
    "paused": false,
    "season": "autumn",
    "secondaries": {
      "1121334472": {
        "id": "1121334472",
        "port": 10998,
        "__addr": "109.81.124.119",
        "steamid": "90292167064939524"
      }
    },
    "directory_id": "KU_QQgFTA20",
    "steam_id": null,
    "domain": null,
    "id": 14851462,
    "ip": "109.81.124.119",
    "port": 10999,
    "query": 10999,
    "project_id": null,
    "color": 0,
    "city": "Брно",
    "description": null,
    "game": 322330,
    "owner": null,
    "boosts": 1,
    "last_offline": 1788558513,
    "last_online": 1788554902,
    "icon": null,
    "name": "Honzik a mega jew",
    "connect": "109.81.124.119:10999",
    "request": "109.81.124.119:10999",
    "map": null,
    "gamemode": "survival",
    "version": "747465",
    "numplayers": 2,
    "maxplayers": 2,
    "bots": null,
    "secured": null,
    "private": false,
    "country": "CZ",
    "status": true,
    "votes": 0,
    "points": 71,
    "add_date": 1788558513,
    "last_update": 1788554902,
    "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": 668,
    "language": "cs",
    "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/14851462");
$data = json_decode($json, true);
var_dump($data);