JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11606316
json
{
  "response": {
    "fps": 166,
    "fps_avg": 168,
    "entities_count": 87928,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286599341620229",
    "domain": null,
    "id": 11606316,
    "ip": "57.128.211.192",
    "port": 28075,
    "query": 28077,
    "color": 0,
    "city": "Warsaw",
    "description": "![RustFront EU 2x | Vanilla+ - No P2W | Weekly | Wiping 18:00](https://rustfront.com/brand/rustfront-server-header.jpg)\n2x gather. Vanilla base loot + small RustFront bonus rolls. Larger stacks. Fast smelt. 2x crafting.\r\nCustom plugins continuously being built depending on player demands.\r\nBus Travel, Scrap Cases, and Bonus Loot.\r\nNo kits. No teleport. No homes. No pay-to-win.\r\nSupporter/VIP is queue skip only.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779977025,
    "last_online": 1780588237,
    "icon": null,
    "name": "RustFront EU 2x | Vanilla+ - No P2W | Weekly | Wiping 18:00",
    "connect": "57.128.211.192:28075",
    "request": "57.128.211.192:28077",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915467,
    "last_update": 1780588237,
    "banned": false,
    "wipe": 1780585347,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5343,
    "language": "pl",
    "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/11606316");
$data = json_decode($json, true);
var_dump($data);