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

text
https://api.gamemonitoring.ru/servers/11491872
json
{
  "response": {
    "steam_id": "90285316137891864",
    "domain": "avorion.hog-cloud.com",
    "id": 11491872,
    "ip": "84.162.241.89",
    "port": 27000,
    "query": 27020,
    "color": 0,
    "city": "Falkenberg",
    "description": "No Mods | PvE | Set up on 2026-04-17 | Wont be wipe | Always reachable with avorion.hog-cloud.com",
    "game": 445220,
    "owner": 192467,
    "boosts": 1,
    "last_offline": 1778541739,
    "score": 0,
    "last_online": 1777864212,
    "icon": null,
    "name": "Open Galaxy",
    "connect": "avorion.hog-cloud.com:27000",
    "request": "84.162.241.89:27020",
    "map": "y4L4R2e0eH",
    "gamemode": "Avorion",
    "version": "2.5.13.44140",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1777643176,
    "last_update": 1778541739,
    "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": 283,
    "language": "de",
    "parked": false,
    "app": {
      "id": 172,
      "steam_id": 445220,
      "name": "Avorion",
      "url": "avorion"
    },
    "server_owner": {
      "username": "hog_cloud",
      "avatar": "dab8458f-bec2-4d57-8102-50f31db89b4e.jpg",
      "last_online": 1778318388
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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