CLI

CLI 工具

直接從終端機搜尋並取得卡牌價格。也適用於腳本及 CI/CD 環境。

安裝
$ brew tap TCG-Price-Lookup/tcg && brew install tcglookup
# 或透過 npm 安裝:
$ npm install -g tcglookup

主要功能

  • ✓Search cards from terminal
  • ✓Price history lookups
  • ✓JSON output for scripting
  • ✓Homebrew and npm install
  • ✓All 8 games supported
使用範例
$ tcglookup search "charizard" --game pokemon
$ tcglookup price "charizard-vmax" --history
$ tcglookup search "black lotus" --game mtg --json
GitHub →

開始使用 TCG API 進行開發

取得免費 API 金鑰,幾分鐘內即可開始查詢卡牌價格。