# 快速開始 ## 1. 安裝依賴 ```bash pip install -r requirements.txt ``` ## 2. 設定 UID 建立 `.env` 檔案: ```bash echo "UID=your_uid_here" > .env ``` 將 `your_uid_here` 替換為你的實際 UID。 ## 3. 確認帳號 ```bash python giftcenter.py login ``` 看到「登入成功」即代表設定正確。 ## 4. 兌換禮品碼 ```bash python giftcenter.py redeem ABCD1234 ``` 成功時顯示「兌換成功!」,失敗時會說明原因(碼不存在、已過期、已使用等)。