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

text
https://api.gamemonitoring.ru/servers/12426477
json
{
  "response": {
    "os": "w",
    "region": -1,
    "product": "Arma3",
    "gametype": "bf,r222,n0,s6,i3,mf,lf,vf,dt,tcoop,g65545,hab9cfd5c,f1,c-2147483648--2147483648,oAU,pw,e0,j0,k0,",
    "dedicated": true,
    "steam_id": "90290641896277010",
    "domain": null,
    "id": 12426477,
    "ip": "118.127.62.98",
    "port": 4100,
    "query": 4101,
    "project_id": null,
    "color": 0,
    "city": "Melbourne",
    "description": null,
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1786532847,
    "last_online": 1786542000,
    "icon": null,
    "name": "ASOT milsim [discord.gg/asot] - Primary Training",
    "connect": "118.127.62.98:4100",
    "request": "118.127.62.98:4101",
    "map": "Altis",
    "gamemode": null,
    "version": "2.22.154003",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 33,
    "add_date": 1784664202,
    "last_update": 1786542000,
    "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": 251,
    "language": "en",
    "parked": false,
    "app": {
      "id": 61,
      "steam_id": 107410,
      "name": "Arma 3",
      "url": "arma-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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