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

text
https://api.gamemonitoring.ru/servers/12259274
json
{
  "response": {
    "dedicated": false,
    "gametype": "cp=1,sl=0,df=0,cm=1,pv=0,hc=0,ap=1,in=1,pw=1",
    "os": "w",
    "product": "219990",
    "region": -1,
    "steam_id": "90288870262159371",
    "domain": null,
    "id": 12259274,
    "ip": "118.7.82.132",
    "port": 42805,
    "query": 27016,
    "project_id": null,
    "color": 0,
    "city": "Mobara",
    "description": null,
    "game": 219990,
    "owner": null,
    "boosts": 1,
    "last_offline": 1784090521,
    "last_online": 1784041259,
    "icon": null,
    "name": "zhao yu 520",
    "connect": "118.7.82.132:42805",
    "request": "118.7.82.132:27016",
    "map": "levels/world001.map",
    "gamemode": null,
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 3,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "JP",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1783860270,
    "last_update": 1784090521,
    "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": 7180,
    "language": "ja",
    "parked": false,
    "app": {
      "id": 101,
      "steam_id": 219990,
      "name": "Grim Dawn",
      "url": "grim-dawn"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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