JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/6150421
json
{
  "response": {
    "fps": 59,
    "fps_avg": 58,
    "entities_count": 83344,
    "world_seed": 18208,
    "world_size": 3750,
    "steam_id": 90286699979127820,
    "domain": null,
    "id": 6150421,
    "ip": "91.124.63.71",
    "port": 28015,
    "query": 28016,
    "project_id": null,
    "color": 0,
    "city": "Istanbul",
    "description": "![[TR/EU] Zen Valley 2X | PvE | PvP | RP | Skills | Skins |](https://imgur.com/wrH2dZx.png)\nZEN VALLEY\r\n\r\nFORGE YOUR STORY • BUILD YOUR LEGACY\r\n\r\n----------------------------------\r\n\r\nBARIŞ MI? SAVAŞ MI?\r\nPEACE OR WAR?\r\n\r\nSunucuya ilk girişinde oyun tarzını seçersin.\r\nChoose your destiny when you first join.\r\n\r\n[PvE] BARIŞ MODU\r\nİnşa Et • Üret • Keşfet • Geliş\r\n\r\n[PvP] SAVAŞ MODU\r\nSavaş • Fethet • Baskın Yap • Hükmet\r\n\r\nSeçtiğin mod bir sonraki WIPE'a kadar değiştirilemez.\r\nYour choice remains until the next WIPE.\r\n\r\nPvE ve PvP oyuncuları birbirlerini öldüremez veya baskın yapamaz.\r\nPvE and PvP players cannot kill or raid each other.\r\n\r\nKurallar için: /rules\r\nRules: /rules\r\n\r\n----------------------------------\r\n\r\nSUNUCU ÖZELLİKLERİ\r\nSERVER FEATURES\r\n\r\n- WarMode System\r\n- Skill Tree Progression\r\n- Raidable Bases\r\n- Casino\r\n- Economy & Shop\r\n- Skins & Building Skins\r\n- Backpacks & Kits\r\n- Deployable Nature\r\n- Community Events\r\n- Active Administration\r\n- Unlocked DLC Content\r\n\r\n----------------------------------\r\n\r\nWIPE SİSTEMİ\r\nWIPE SCHEDULE\r\n\r\nAylık Wipe\r\nMonthly Wipe\r\n\r\nSonraki Wipe / Next Wipe\r\n02.07.2026 - 22:00\r\n\r\n----------------------------------\r\n\r\nDISCORD\r\nhttps://discord.gg/GZMTbeRCd2\r\n\r\nCONNECT\r\n91.124.63.71:28015\r\n\r\n----------------------------------\r\n\r\nZEN VALLEY\r\n\r\nTürkiye & Avrupa Topluluğu\r\nTurkish & European Community\r\n\r\nEvery Choice Has Consequences.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780808653,
    "last_online": 1780875027,
    "icon": null,
    "name": "[TR/EU] Zen Valley 2X | PvE | PvP | RP | Skills | Skins |",
    "connect": "91.124.63.71:28015",
    "request": "91.124.63.71:28016",
    "map": "ZenValleyMap",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "TR",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1728012270,
    "last_update": 1780875027,
    "banned": false,
    "wipe": 1780603182,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2221,
    "language": "tr",
    "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/6150421");
$data = json_decode($json, true);
var_dump($data);