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

text
https://api.gamemonitoring.ru/servers/11646567
json
{
  "response": {
    "steam_id": "90286421941764108",
    "domain": null,
    "id": 11646567,
    "ip": "217.81.8.217",
    "port": 2456,
    "query": 2457,
    "color": 0,
    "city": "Freiburg im Breisgau",
    "description": null,
    "game": 892970,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780590816,
    "last_online": 1780260144,
    "icon": null,
    "name": "fromhelltothearctic",
    "connect": "217.81.8.217:2456",
    "request": "217.81.8.217:2457",
    "map": "fromhelltothearctic",
    "gamemode": null,
    "version": "0.221.12",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780177539,
    "last_update": 1780590816,
    "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": 11432,
    "language": "de",
    "parked": false,
    "app": {
      "id": 34967,
      "steam_id": 892970,
      "name": "Valheim",
      "url": "valheim"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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