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
开始使用 TCG API 构建应用
获取免费 API 密钥,几分钟内即可开始查询卡牌价格。