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

text
https://api.gamemonitoring.ru/servers/8639953
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 8639953,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": null,
    "game": 232090,
    "owner": 111386,
    "boosts": 1,
    "last_offline": 1750457066,
    "score": 0,
    "last_online": 1747181450,
    "icon": null,
    "name": "KF2 Weed Enjoyers | Custom Maps",
    "connect": null,
    "request": null,
    "map": "KF-NUKED",
    "gamemode": "Killing Floor 2",
    "version": null,
    "numplayers": 0,
    "maxplayers": 6,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "FI",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1745229687,
    "last_update": 1750457066,
    "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": 908,
    "language": "fi",
    "parked": true,
    "app": {
      "id": 51,
      "steam_id": 232090,
      "name": "Killing Floor 2",
      "url": "killing-floor-2"
    },
    "server_owner": {
      "username": "SUCC",
      "avatar": "1dc7f26c-2c8a-49f2-95a3-537478ef512b.jpg",
      "last_online": 1745954266
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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