JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11771304
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 79746,
    "world_seed": 1449881993,
    "world_size": 3500,
    "steam_id": "90286784941562907",
    "domain": null,
    "id": 11771304,
    "ip": "64.40.8.127",
    "port": 28029,
    "query": 28026,
    "project_id": null,
    "color": 0,
    "city": "Dallas",
    "description": "![LA VERGA DEL ABUELO / NOOB FRIENDLY / LATAM - ESP / SPANISH ONL](https://i.imgur.com/fDdczl0.jpeg)\nServidor para los que trabajan y solo pueden jugar por la noche. Aqui se construye en la semana y se raidea en el fin de semana. Sin pay to win, sin kits abusivos y sin ventajas VIP. Aqui todo el mundo empieza igual.\r\n\r\nDETALLES:\r\nFull Wipe: Mensual\r\nMapa: 3,500\r\nTeam Size: Maximo 4\r\nModo: Vanilla\r\nLanguage: Spanish Only\r\n\r\nREGLAS:\r\n1. Maximo 4 por team. Sin alianzas.\r\n2. Raids permitidos solo sabado y domingo.\r\n3. Romper fuera del horario de raid = BAN.\r\n4. Kill on Sight obligatorio en Raids y Monumentos.\r\n5. Cero toxicidad, racismo, cheats o macros.\r\n6. Wipe el primer jueves de cada mes a las 3PM (AST).\r\n7. If you dont speak Spanish, you cant play here.\r\n\r\nINFRACTORES SERAN BANEADOS.\r\nIP Connect: client.connect 64.40.8.127:28029",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780996894,
    "last_online": 1781044824,
    "icon": null,
    "name": "LA VERGA DEL ABUELO / NOOB FRIENDLY / LATAM - ESP / SPANISH ONL",
    "connect": "64.40.8.127:28029",
    "request": "64.40.8.127:28026",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 9,
    "maxplayers": 80,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1780996894,
    "last_update": 1781044824,
    "banned": false,
    "wipe": 1780778628,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1111,
    "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/11771304");
$data = json_decode($json, true);
var_dump($data);