JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11596819
json
{
  "response": {
    "fps": 128,
    "fps_avg": 126,
    "entities_count": 81350,
    "world_seed": 1671863787,
    "world_size": 3700,
    "steam_id": "90286482491508749",
    "domain": null,
    "id": 11596819,
    "ip": "131.196.198.204",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Cotia",
    "description": "![JEKA'S CLUB 2X SOLO/DUO 29/05](https://i.imgur.com/0rZs8A9.png)\nJEKA'S CLUB BR 2X | VANILLA+ | SOLO/DUO\r\n \r\n- Recursos 2x \r\n- Progressão fluida \r\n- Reciclador 2x \r\n- Wipe todas sextas as 19h \r\n- Servidor dedicado 24/7 \r\n \r\nServidor pensado para entregar uma experiência mais fluida sem perder a essência do Rust Vanilla.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780237450,
    "last_online": 1780571431,
    "icon": null,
    "name": "JEKA'S CLUB 2X SOLO/DUO 29/05",
    "connect": "131.196.198.204:28015",
    "request": "131.196.198.204:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "BR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779358599,
    "last_update": 1780571431,
    "banned": false,
    "wipe": 1780092228,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5315,
    "language": "pt",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

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