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

text
https://api.gamemonitoring.ru/servers/16516344
json
{
  "response": {
    "os": "w",
    "region": 255,
    "product": "left4dead2",
    "gametype": "coop,empty,secure",
    "dedicated": true,
    "steam_id": "90292433017121798",
    "domain": null,
    "id": 16516344,
    "ip": "203.10.98.186",
    "port": 25175,
    "query": 25175,
    "project_id": null,
    "color": 0,
    "city": "Токио",
    "description": null,
    "game": 550,
    "boosts": 1,
    "last_offline": 1789746141,
    "last_online": 1789745420,
    "icon": null,
    "name": "服务器24小时在线 |L4D2 | 自杀闪电战2",
    "connect": "203.10.98.186:25175",
    "request": "203.10.98.186:25175",
    "map": "l4d2_stadium1_apartment",
    "gamemode": null,
    "version": "2.2.4.3",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "JP",
    "status": false,
    "votes": 0,
    "points": 30,
    "add_date": 1789510885,
    "last_update": 1789746141,
    "ban_reason": null,
    "banned": false,
    "hidden": 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": 15788,
    "language": "ja",
    "parked": false,
    "app": {
      "id": 11,
      "steam_id": 550,
      "name": "Left 4 Dead 2",
      "url": "left-4-dead-2"
    },
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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