$ ls ./ecosystem/

TCG Price Lookup
开发者生态系统

除API外,还提供完整的工具套件:5种语言的官方SDK、CLI、自托管Discord机器人、OpenAPI规范、Postman集合以及可直接部署的Next.js入门模板。

5个官方SDK | CLI工具 | Discord机器人 | OpenAPI规范 | Postman集合 | Next.js入门模板
SDK & CLI

官方SDK & CLI工具

主流语言的即插即用库。零配置 — 添加API密钥即可开始查询。

GO go

Go SDK

Official Go SDK for the TCG Price Lookup API.

  • Zero third-party dependencies
  • Idiomatic Go design
  • Functional options pattern
go get github.com/TCG-Price-Lookup/tcglookup-go GitHub →
JS npm

JavaScript / TypeScript SDK

Official JavaScript/TypeScript SDK for the TCG Price Lookup API.

  • Zero dependencies
  • ESM and CommonJS support
  • Full TypeScript types
npm install tcglookup GitHub →
PHP composer

PHP SDK

Official PHP SDK for the TCG Price Lookup API.

  • PHP 8.1+ support
  • Guzzle HTTP client
  • PSR-4 autoloading
composer require tcg-price-lookup/tcglookup GitHub →
PY pip

Python SDK

Official Python SDK for the TCG Price Lookup API.

  • Python 3.9+ support
  • Built on httpx (async ready)
  • Typed exception hierarchy
pip install tcglookup GitHub →
RS cargo

Rust SDK

Official Rust SDK for the TCG Price Lookup API.

  • Async with reqwest + tokio
  • Typed Error enum
  • Builder pattern
cargo add tcglookup GitHub →
$_ brew

CLI Tool

Live trading card prices in your terminal.

  • Search cards from terminal
  • Price history lookups
  • JSON output for scripting
brew tap TCG-Price-Lookup/tcg && brew install tcglookup GitHub →
集成

Discord机器人

自托管、开源。几分钟内为Discord服务器添加实时卡牌价格功能。

Discord Bot

Self-hosted Discord bot for live trading card prices. Slash commands powered by the TCG Price Lookup API. Supports all 8 games.

  • 自托管 — 数据完全由您掌控
  • 在GitHub开源发布
  • 支持全部8款TCG游戏
  • 斜杠命令界面

斜杠命令示例

> /price charizard
> /search black lotus --game mtg
> /price mox-ruby --history
> /search pikachu --game pokemon --foil

自己动手构建

有构建工具、封装库或集成的想法?TCG Price Lookup API对所有人开放。 选择一个SDK,获取免费API密钥,开始构建精彩的应用。

开始使用 TCG API 构建应用

获取免费 API 密钥,几分钟内即可开始查询卡牌价格。