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

text
https://api.gamemonitoring.ru/servers/16686882
json
{
  "response": {
    "add_date": 1789732858,
    "app": {
      "id": 147,
      "name": "Don't Starve Together",
      "steam_id": 322330,
      "url": "dont-starve-together"
    },
    "color": 0,
    "connect": "123.100.137.62:10999",
    "country": "JP",
    "domain": null,
    "game": 322330,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 16686882,
    "ip": "123.100.137.62",
    "language": "ja",
    "last_update": 1789902895,
    "map": null,
    "maxplayers": 8,
    "name": "Yukiya's DST Server",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 10999,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": 0,
    "query": 10999,
    "request": "123.100.137.62:10999",
    "secured": null,
    "status": false,
    "steam_id": null,
    "version": "740256",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Akasaka",
    "description": null,
    "disabled_modules": [],
    "gamemode": "survival",
    "hidden": false,
    "last_offline": 1789902895,
    "last_online": 1789814652,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 10592,
    "wipe_period": null,
    "paused": false,
    "season": "summer",
    "lanonly": false,
    "dedicated": true,
    "secondaries": {
      "2": {
        "id": "2",
        "port": 11000,
        "__addr": "123.100.137.62",
        "steamid": "90292976700705801"
      }
    },
    "clienthosted": false,
    "directory_id": "d709f88b815b8de79fb545fd6049fd04"
  }
}

Примеры кода

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