JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11502790
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 83135,
    "world_seed": 1337,
    "world_size": 5800,
    "steam_id": "90286556094646295",
    "domain": null,
    "id": 11502790,
    "ip": "15.235.232.241",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Singapore",
    "description": "![[TW/HK/Asia] EK RUST|月清PVE|2X-2.5X|No Raid|活动PV](https://ektw.cc/img/20260520-1.jpg)\n【EK RUST|月清主PVE+活動型PVP】\r\n台灣 / 香港 / 亞洲玩家為主,適合上班族、新手、生活玩家與喜歡長期經營的玩家。\r\n\r\n【核心玩法】\r\n・主世界 PVE 安全保護:玩家基地受保護,不開放抄家,不強迫 PVP\r\n・活動型 PVP:僅在空投、鎖箱、月中/月末活動區開啟,進入前會有明確提示\r\n・2X~2.5X 舒適倍率:降低農壓,但保留 Rust 成長感\r\n・月清長期節奏:適合慢慢蓋家、經營基地、養成角色\r\n・輕 RPG 成長:技能樹、經濟商店、Kit、VIP 生活便利\r\n・副本基地 / 料理生活 / 自動化工業 / 生活型玩法\r\n\r\n【適合誰加入?】\r\n・不喜歡每天被抄家的玩家\r\n・想安心蓋家、農資源、跑副本、打活動的玩家\r\n・想體驗 Rust,但希望環境比較友善的新手\r\n・喜歡 PVE 為主、偶爾參與活動 PVP 的玩家\r\n\r\n輸入 /info、/kit、/shop、/skills 開始遊玩。",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780588463,
    "last_online": 1780578632,
    "icon": null,
    "name": "[TW/HK/Asia] EK RUST|月清PVE|2X-2.5X|No Raid|活动PV",
    "connect": "15.235.232.241:28015",
    "request": "15.235.232.241:28016",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 60,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SG",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207219,
    "last_update": 1780588463,
    "banned": false,
    "wipe": 1778849291,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11548,
    "language": "en",
    "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/11502790");
$data = json_decode($json, true);
var_dump($data);