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

text
https://api.gamemonitoring.ru/servers/16439722
json
{
  "response": {
    "paused": false,
    "season": "autumn",
    "lanonly": false,
    "dedicated": true,
    "secondaries": {
      "3941997193": {
        "id": "3941997193",
        "port": 10998,
        "__addr": "188.119.7.170",
        "steamid": "90292783906570247"
      }
    },
    "clienthosted": true,
    "directory_id": "KU_sJttOFgV",
    "steam_id": null,
    "domain": null,
    "id": 16439722,
    "ip": "188.119.7.170",
    "port": 10999,
    "query": 10999,
    "project_id": null,
    "color": 0,
    "city": "Адана",
    "description": null,
    "game": 322330,
    "boosts": 1,
    "last_offline": 1789555808,
    "last_online": 1789468808,
    "icon": null,
    "name": "SnaX in Dünyası",
    "connect": "188.119.7.170:10999",
    "request": "188.119.7.170:10999",
    "map": null,
    "gamemode": "survival",
    "version": "747465",
    "numplayers": 0,
    "maxplayers": 6,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "TR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1789465818,
    "last_update": 1789555808,
    "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": 77604,
    "language": "tr",
    "parked": false,
    "app": {
      "id": 147,
      "steam_id": 322330,
      "name": "Don't Starve Together",
      "url": "dont-starve-together"
    },
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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