JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11305961
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 84512,
    "world_seed": 2147483647,
    "world_size": 3750,
    "steam_id": "90286573673072661",
    "domain": null,
    "id": 11305961,
    "ip": "216.39.240.213",
    "port": 27915,
    "query": 27913,
    "color": 0,
    "city": "Dallas",
    "description": "![Chatarra Galáctica Solo/Duo/Trio Just Wiped](https://postimg.cc/CZ5kGSN9)\nCHATARRA GALACTICA [VANILLA]\r\n Rust en su estado más puro. Sin ventajas, sin atajos. Solo tu habilidad y el entorno.\r\n Experiencia: Vanilla 100%.\r\n Grupo: Max 3 .\r\n Wipe: Semanales (Map) / Mensual (BP)\r\n Admin: Activo solo para moderación técnica.\r\n Sobrevive bajo tu propio riesgo.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780030418,
    "last_online": 1780555828,
    "icon": null,
    "name": "Chatarra Galáctica Solo/Duo/Trio Just Wiped",
    "connect": "216.39.240.213:27915",
    "request": "216.39.240.213:27913",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 60,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774592905,
    "last_update": 1780555828,
    "banned": false,
    "wipe": 1780030428,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4432,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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