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

text
https://api.gamemonitoring.ru/servers/12381324
json
{
  "response": {
    "dedicated": false,
    "gametype": "l;1;2",
    "os": "w",
    "product": "killingfloor",
    "region": 255,
    "steam_id": "90289235129145367",
    "domain": null,
    "id": 12381324,
    "ip": "223.206.247.208",
    "port": 7707,
    "query": 28852,
    "project_id": null,
    "color": 0,
    "city": "Khon Kaen",
    "description": null,
    "game": 1250,
    "owner": null,
    "boosts": 1,
    "last_offline": 1784834071,
    "last_online": 1784451189,
    "icon": null,
    "name": "Killing Floor Server",
    "connect": "223.206.247.208:7707",
    "request": "223.206.247.208:28852",
    "map": "KF-WestLondon",
    "gamemode": null,
    "version": "1.0.6.5",
    "numplayers": 0,
    "maxplayers": 6,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "TH",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1784446392,
    "last_update": 1784834071,
    "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": 1667,
    "language": "th",
    "parked": false,
    "app": {
      "id": 50,
      "steam_id": 1250,
      "name": "Killing Floor",
      "url": "killing-floor"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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