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

text
https://api.gamemonitoring.ru/servers/12061591
json
{
  "response": {
    "os": "l",
    "region": 255,
    "product": "killingfloor",
    "gametype": "d;1;1",
    "dedicated": true,
    "steam_id": "90291604067272714",
    "domain": null,
    "id": 12061591,
    "ip": "57.128.251.119",
    "port": 7747,
    "query": 28892,
    "project_id": null,
    "color": 0,
    "city": "Warsaw",
    "description": null,
    "game": 1250,
    "owner": null,
    "boosts": 1,
    "last_offline": 1787710101,
    "last_online": 1787795538,
    "icon": null,
    "name": "UA|WhereTrader? Normal #2 WHITELISTED KF/KFO/RAND Long/Medium/S",
    "connect": "57.128.251.119:7747",
    "request": "57.128.251.119:28892",
    "map": "KF-Wyre",
    "gamemode": null,
    "version": "1.0.6.5",
    "numplayers": 0,
    "maxplayers": 6,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1783800200,
    "last_update": 1787795538,
    "ban_reason": null,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 374,
    "language": "pl",
    "parked": false,
    "app": {
      "id": 50,
      "steam_id": 1250,
      "name": "Killing Floor",
      "url": "killing-floor"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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