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

text
https://api.gamemonitoring.ru/servers/12584907
json
{
  "response": {
    "dedicated": true,
    "gametype": "Version_1.4.0.0,Time_9,Month_6,Owner_76561198771162531,Region_USA,IsPopular",
    "os": "w",
    "product": "541300",
    "region": -1,
    "steam_id": "90289572200796164",
    "domain": null,
    "id": 12584907,
    "ip": "206.204.154.99",
    "port": 7950,
    "query": 7951,
    "project_id": null,
    "color": 0,
    "city": "Montcada i Reixac",
    "description": null,
    "game": 541300,
    "owner": null,
    "boosts": 1,
    "last_offline": 1785185835,
    "last_online": 1784972400,
    "icon": null,
    "name": "BFR",
    "connect": "206.204.154.99:7950",
    "request": "206.204.154.99:7951",
    "map": "Black_Island",
    "gamemode": null,
    "version": "1.4.0.0",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "ES",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1784970732,
    "last_update": 1785185835,
    "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": 2802,
    "language": "es",
    "parked": false,
    "app": {
      "id": 12556,
      "steam_id": 541300,
      "name": "Survive the Nights",
      "url": "survive-the-nights"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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