treebuy-featured

SKILL.md

treebuy-featured

treebuy-cli featured list 取得小樹購目前的 Featured Campaign。

安裝

# 透過 npx skills add 安裝此技能
npx skills add https://github.com/nandemo-agent/treebuy-cli --skill treebuy-featured

# 或手動 clone treebuy-cli
git clone https://github.com/nandemo-agent/treebuy-cli.git
cd treebuy-cli && npm install

指令

# 全部 campaigns
treebuy-cli featured list

# 只看 featured 類型
treebuy-cli featured list --kind featured

# 只看 topic 類型
treebuy-cli featured list --kind topic

# Agent/pipe 用:NDJSON + 精簡欄位(--fields 作用於 products[] 層級)
# kind 是 campaign-level 欄位,不受 --fields 控制,會自動保留在 campaign 物件
treebuy-cli featured list --ndjson --fields sku,title

# JSON array
treebuy-cli featured list --json

Response 欄位

欄位 說明
id campaign ID
kind featuredtopic
started_at / ended_at 活動期間(ISO 8601)
cta_button {title, url} 或 null
products[].sku 商品 SKU
products[].title 商品標題
products[].image_url 圖片 URL

API:GET https://v2api.treebuy.com/v2/campaign/featured_products/get

詳細 schema 見 references/api.md

Weekly Installs
2
First Seen
9 days ago
Installed on
openclaw2
mcpjam1
claude-code1
junie1
windsurf1
zencoder1