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

text
https://api.gamemonitoring.ru/servers/10658871
json
{
  "response": {
    "steam_id": null,
    "domain": "jubilados.exaroton.me",
    "id": 10658871,
    "ip": "37.228.148.22",
    "port": 21281,
    "query": 21281,
    "project_id": null,
    "color": 0,
    "city": "Neckargemünd",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1771365138,
    "last_online": 1780696390,
    "icon": null,
    "name": "🗡Survival con mods⛏ ->FABRIC 1.21.1<- 🔉 Voicechat activado",
    "connect": "jubilados.exaroton.me:21281",
    "request": "37.228.148.22:21281",
    "map": null,
    "gamemode": "FML",
    "version": "1.21.1",
    "numplayers": 0,
    "maxplayers": 12,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1764543735,
    "last_update": 1780696390,
    "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": 3565,
    "language": "de",
    "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/10658871");
$data = json_decode($json, true);
var_dump($data);