$ ls ./ecosystem/

TCG Price Lookup
Hệ sinh thái nhà phát triển

Ngoài API, còn có bộ công cụ đầy đủ gồm 5 SDK chính thức cho các ngôn ngữ phổ biến, CLI, bot Discord tự lưu trữ, đặc tả OpenAPI, bộ sưu tập Postman và starter Next.js sẵn dùng cho sản xuất.

5 SDK chính thức | Công cụ CLI | Bot Discord | Đặc tả OpenAPI | Bộ sưu tập Postman | Starter Next.js
SDK & CLI

SDK chính thức & Công cụ CLI

Thư viện sẵn dùng cho các ngôn ngữ chính. Không cần cấu hình — thêm API key và bắt đầu truy vấn ngay.

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 →
Tích hợp

Bot Discord

Tự lưu trữ, mã nguồn mở. Thêm giá thẻ trực tiếp vào máy chủ Discord trong vài phút.

Discord Bot

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

  • Tự lưu trữ — bạn kiểm soát dữ liệu của mình
  • Mã nguồn mở trên GitHub
  • Hỗ trợ tất cả 8 trò chơi TCG
  • Giao diện lệnh slash

Ví dụ lệnh slash

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

Tự xây dựng

Bạn có ý tưởng về công cụ, wrapper hoặc tích hợp? TCG Price Lookup API mở cửa cho tất cả mọi người. Chọn SDK, lấy API key miễn phí và tạo ra điều gì đó tuyệt vời.

Bắt đầu xây dựng với TCG API

Nhận khóa API miễn phí và bắt đầu truy vấn giá thẻ bài trong vài phút.