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

text
https://api.gamemonitoring.ru/servers/14599709
json
{
  "response": {
    "paused": false,
    "season": "autumn",
    "secondaries": {
      "1137196188": {
        "id": "1137196188",
        "port": 10999,
        "__addr": "65.109.127.243",
        "steamid": "90290404935955477"
      }
    },
    "directory_id": "7f87d4e49ffc3d7c74859b2b93198c18",
    "steam_id": null,
    "domain": null,
    "id": 14599709,
    "ip": "65.109.127.243",
    "port": 11000,
    "query": 11000,
    "project_id": null,
    "color": 0,
    "city": "Хельсинки",
    "description": null,
    "game": 322330,
    "owner": null,
    "boosts": 1,
    "last_offline": 1788554477,
    "last_online": 1788695402,
    "icon": null,
    "name": "Gnolls Behaving Badly",
    "connect": "65.109.127.243:11000",
    "request": "65.109.127.243:11000",
    "map": null,
    "gamemode": "survival",
    "version": "722900",
    "numplayers": 0,
    "maxplayers": 16,
    "bots": null,
    "secured": null,
    "private": true,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1788554477,
    "last_update": 1788695402,
    "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": 84029,
    "language": "fi",
    "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/14599709");
$data = json_decode($json, true);
var_dump($data);