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

text
https://api.gamemonitoring.ru/servers/11501147
json
{
  "response": {
    "fps": 222,
    "fps_avg": 221,
    "entities_count": 72664,
    "world_seed": 1337,
    "world_size": 3700,
    "steam_id": "90286576722427928",
    "domain": null,
    "id": 11501147,
    "ip": "57.128.195.90",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Warsaw",
    "description": "![gm.link/u197988 RustyRed TWINSPIRE | FULL WIPE 29.05 | EU | Duo](https://premium-works.cdn.express/secure/NVZnT1lu4yvmnlGb0lju2w/server-hero.png)\nWipe: every Friday 17:00 UTC (20:00 Kyiv / 20:00 MSK)\r\nMax Team: 2 players\r\n\r\nFEATURES:\r\n- Gather: 2x\r\n- Stack size: 10,000\r\n- Skin giveaways & events\r\n- Custom event: Expedition\r\n- Noob friendly\r\n- Custom report system with active moderation\r\n... and more on /menu\r\n\r\nLINKS:\r\n- Website: rusty-red.com\r\n- Discord: discord.gg/jrrbKJpTC2",
    "game": 252490,
    "owner": 197988,
    "boosts": 1,
    "last_offline": 1780349049,
    "last_online": 1780564819,
    "icon": null,
    "name": "RustyRed TWINSPIRE | FULL WIPE 29.05 | EU | Duo x2 | Kits",
    "connect": "57.128.195.90:28015",
    "request": "57.128.195.90:28016",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 4,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 91,
    "add_date": 1779207168,
    "last_update": 1780564819,
    "banned": false,
    "wipe": 1780075946,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 196,
    "language": "pl",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "rootware",
      "avatar": "72fbcf1d-ccc9-453d-b94b-53fb30eaf3f7.webp"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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