SDK 與函式庫
適用於 JavaScript、Python、Go、Rust、PHP 及 CLI 工具的 TCG Price Lookup API 官方 SDK。
官方 SDK 提供 6 種語言版本。每個 SDK 均提供型別化客戶端、錯誤處理及完整的 API 覆蓋。
CLI Tool
brewLive trading card prices in your terminal. Search, lookup, price history, JSON output for scripting. Also installable via npm.
$ brew tap TCG-Price-Lookup/tcg && brew install tcglookup Go SDK
goOfficial Go SDK for the TCG Price Lookup API. Idiomatic Go, stdlib net/http, zero third-party deps, functional options, typed errors.
$ go get github.com/TCG-Price-Lookup/tcglookup-go JavaScript / TypeScript SDK
npmOfficial JavaScript/TypeScript SDK for the TCG Price Lookup API. Zero deps, ESM + CJS, works in Node 18+, browsers, Bun, Deno, Cloudflare Workers.
$ npm install tcglookup PHP SDK
composerOfficial PHP SDK for the TCG Price Lookup API. PHP 8.1+, Guzzle, PSR-4, typed exception hierarchy.
$ composer require tcg-price-lookup/tcglookup Python SDK
pipOfficial Python SDK for the TCG Price Lookup API. Python 3.9+, built on httpx, typed exception hierarchy, context manager support.
$ pip install tcglookup Rust SDK
cargoOfficial Rust SDK for the TCG Price Lookup API. Async with reqwest + tokio, typed Error enum, builder pattern.
$ cargo add tcglookup