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

text
https://api.gamemonitoring.ru/servers/12222352
json
{
  "response": {
    "dedicated": false,
    "gametype": "\\gametype\\zclassic\\dedicated\\false\\ranked\\false\\hardcore\\false\\zombies\\true\\modName\\usermaps\\playerCount\\1",
    "os": "w",
    "product": "blackops3server",
    "region": -1,
    "steam_id": "90288731937623067",
    "domain": null,
    "id": 12222352,
    "ip": "203.211.106.54",
    "port": 27017,
    "query": 27017,
    "project_id": null,
    "color": 0,
    "city": "Auckland",
    "description": null,
    "game": 311210,
    "owner": null,
    "boosts": 1,
    "last_offline": 1784014878,
    "last_online": 1783836074,
    "icon": null,
    "name": "Call of Duty: Black Ops III",
    "connect": "203.211.106.54:27017",
    "request": "203.211.106.54:27017",
    "map": "zm_nightmare",
    "gamemode": null,
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 4,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "NZ",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1783830146,
    "last_update": 1784014878,
    "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": 16360,
    "language": "en",
    "parked": false,
    "app": {
      "id": 4041,
      "steam_id": 311210,
      "name": "Call of Duty: Black Ops III",
      "url": "call-of-duty-black-ops-iii"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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