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

text
https://api.gamemonitoring.ru/servers/8462328
json
{
  "response": {
    "steam_id": null,
    "domain": "mc.survival-games.cz",
    "id": 8462328,
    "ip": "5.39.202.29",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Mašťov",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773551568,
    "score": 0,
    "last_online": 1776094846,
    "icon": null,
    "name": "::::: Survival-Games.cz ::::: [1.8-1.21.8] NEW! ➲ Lobby & LEVEL UPDATE!",
    "connect": "mc.survival-games.cz:25565",
    "request": "5.39.202.29:25565",
    "map": null,
    "gamemode": "FML",
    "version": "Requires MC 1.8.x - 1.21.x",
    "numplayers": 0,
    "maxplayers": 4000,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "CZ",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1743887458,
    "last_update": 1776094846,
    "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": 2951,
    "language": "cs",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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