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

text
https://api.gamemonitoring.ru/servers/12264224
json
{
  "response": {
    "dedicated": true,
    "gametype": "{\"mmr\":0,\"tpcd\":0,\"gm\":\"TeamGunGame\",\"db\":false,\"rnd\":0,\"mr\":\"Ru\",\"rm\":true,\"minl\":11,\"maxl\":40}",
    "os": "w",
    "product": "Contract Wars 2.0 Standalone",
    "region": -1,
    "steam_id": "90288759256828929",
    "domain": null,
    "id": 12264224,
    "ip": "89.187.185.101",
    "port": 28490,
    "query": 27490,
    "project_id": null,
    "color": 0,
    "city": "Los Angeles",
    "description": null,
    "game": 374280,
    "owner": null,
    "boosts": 1,
    "last_offline": 1784087530,
    "last_online": 1783874796,
    "icon": null,
    "name": "LA1-PO70MD",
    "connect": "89.187.185.101:28490",
    "request": "89.187.185.101:27490",
    "map": "11",
    "gamemode": null,
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 12,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1783872837,
    "last_update": 1784087530,
    "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": 130,
    "language": "en",
    "parked": false,
    "app": {
      "id": 6495,
      "steam_id": 374280,
      "name": "Hired Ops",
      "url": "hired-ops"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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