$ 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 API 進行開發
取得免費 API 金鑰,幾分鐘內即可開始查詢卡牌價格。