JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11759756
json
{
  "response": {
    "fps": 205,
    "fps_avg": 204,
    "entities_count": 68649,
    "world_seed": 1,
    "world_size": 3500,
    "steam_id": 90286676519843840,
    "domain": null,
    "id": 11759756,
    "ip": "200.9.154.71",
    "port": 26317,
    "query": 26058,
    "project_id": null,
    "color": 0,
    "city": "São Paulo",
    "description": "![[SKOL] LATAM BR | VANILLA+ | SOLO/DUO/TRIO WIPE 05/06](https://i.imgur.com/qUCCDmr.png)\nSKOL LATAM BR\r\n\r\nVanilla Solo/Duo/Trio\r\nUpkeep 50%\r\nWipe Quinzenal\r\n\r\nComandos Disponiveis:\r\n/playtime - Ver seu tempo jogado\r\n/playtimetop - Ranking de tempo\r\n\r\nDiscord:\r\nhttps://discord.gg/tmKS5p6n",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780931733,
    "last_online": 1780986035,
    "icon": null,
    "name": "[SKOL] LATAM BR | VANILLA+ | SOLO/DUO/TRIO WIPE 05/06",
    "connect": "200.9.154.71:26317",
    "request": "200.9.154.71:26058",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "BR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780931733,
    "last_update": 1780986035,
    "banned": false,
    "wipe": 1780640587,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6088,
    "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/11759756");
$data = json_decode($json, true);
var_dump($data);