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

text
https://api.gamemonitoring.ru/servers/10972916
json
{
  "response": {
    "add_date": 1769000908,
    "app": {
      "id": 1665415,
      "name": "Hytale",
      "steam_id": 9000061,
      "url": "hytale"
    },
    "color": 0,
    "connect": "play.netherwild.com:5520",
    "country": "DE",
    "domain": "play.netherwild.com",
    "game": 9000061,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 10972916,
    "ip": "188.34.191.180",
    "language": "de",
    "last_update": 1790059945,
    "map": null,
    "maxplayers": 100,
    "name": "NetherWild - The wild never forgives Looking for peace? Yeah… not here.",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 5520,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 5520,
    "request": "188.34.191.180:5520",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "0.5.9",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Фалькенштайн",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1787756407,
    "last_online": 1790059945,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 15,
    "wipe_period": null,
    "protocolHash": "4e7c4354",
    "query_protocol": "hyquery_v2",
    "protocolVersion": 2
  }
}

Примеры кода

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