JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11500887
json
{
  "response": {
    "fps": 41,
    "fps_avg": 40,
    "entities_count": 80884,
    "world_seed": 1159137941,
    "world_size": 3700,
    "steam_id": "90286030522001425",
    "domain": null,
    "id": 11500887,
    "ip": "176.57.169.110",
    "port": 28415,
    "query": 28416,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![GROGU GAMING.CO 3x Solo/Duo WEEKLY|LOOT x3|WIPED](https://i.imgur.com/dhQ1XAv.png)\nGROGU GAMING.CO 3x SOLO/DUO WEEKLY \r\n\r\n▶ Max Group: 2\r\n▶ 3x Gather | 3x Crafting | 3x Components\r\n▶ FREE Skinbox\r\n▶ Active Staff 24/7\r\n▶ Anti-Cheat | Anti-Teaming\r\n▶ Custom Loot Tables\r\n▶ BP Clan Sharing\r\n▶ TP & Home\r\n▶ Auto Auth | TC | Code Lock | Turret\r\n▶ Increased Stack Size",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780565619,
    "last_online": 1779817223,
    "icon": null,
    "name": "GROGU GAMING.CO 3x Solo/Duo WEEKLY|LOOT x3|WIPED",
    "connect": "176.57.169.110:28415",
    "request": "176.57.169.110:28416",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207164,
    "last_update": 1780565619,
    "banned": false,
    "wipe": 1778180205,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11089,
    "language": "de",
    "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/11500887");
$data = json_decode($json, true);
var_dump($data);