SDK & Thư viện
SDK chính thức cho JavaScript, Python, Go, Rust, PHP và công cụ CLI của TCG Price Lookup API.
SDK chính thức có sẵn cho 6 ngôn ngữ. Mỗi SDK cung cấp client có kiểu dữ liệu, xử lý lỗi và bao phủ toàn bộ 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