Releases: TCG-Price-Lookup/tcglookup-js
Releases · TCG-Price-Lookup/tcglookup-js
Release list
v0.1.0 — Initial release
Official JavaScript / TypeScript SDK for the TCG Price Lookup API.
What's in the box
- Fully typed against the production API response shapes
- Zero runtime dependencies, native
fetch, ESM + CJS - Works in Node 18+, browsers, Cloudflare Workers, Bun, Deno
- Auto-chunks batch ID lookups beyond the backend's 20-per-request cap
- Typed errors (
AuthenticationError,PlanAccessError,RateLimitError, …) - Optional retry-with-backoff for
429and5xxresponses
Install
npm install @tcgpricelookup/sdkQuickstart
import { TcgLookupClient } from '@tcgpricelookup/sdk';
const client = new TcgLookupClient({ apiKey: 'tlk_live_...' });
const results = await client.cards.search({ q: 'charizard', game: 'pokemon', limit: 5 });Get a free API key at tcgpricelookup.com/tcg-api.
Sister SDKs
- tcglookup-py — Python
- tcglookup-go — Go
- tcglookup-rs — Rust
- tcglookup-php — PHP
- tcglookup CLI — terminal client
Full ecosystem index: awesome-tcg