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

text
https://api.gamemonitoring.ru/servers/11490018
json
{
  "response": {
    "steam_id": null,
    "domain": "mc.stormworld.fun",
    "id": 11490018,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 9000034,
    "owner": 91119,
    "boosts": 1,
    "last_offline": 1777521835,
    "last_online": 1780587036,
    "icon": null,
    "name": "• StormWorld • ВЕСЕННИЙ ВАЙП • 1.16.5 • 1.21.9 • 2 МАЯ В 13:00 МСК",
    "connect": null,
    "request": null,
    "map": null,
    "gamemode": null,
    "version": "1.16.5, 1.21.9",
    "numplayers": 3,
    "maxplayers": 2026,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1777138301,
    "last_update": 1780587036,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": true,
    "hide_query": true,
    "position_game": 155,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": {
      "username": "marlowww",
      "avatar": "28023f2d-a3d2-4675-b41d-11844eb3c5b9.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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