Python pip

Python SDK

型ヒント付きの公式Python SDK。同期・非同期モード対応。Python 3.9+。

インストール
$ pip install tcglookup

主な機能

  • ✓ Python 3.9+ support
  • ✓ Built on httpx (async ready)
  • ✓ Typed exception hierarchy
  • ✓ Context manager support
  • ✓ Full type hints
使用例
from tcglookup import TCGLookup

tcg = TCGLookup(api_key="your-api-key")

results = tcg.search("charizard")
print(results)

TCG APIで開発を始めよう

無料APIキーを取得して、数分でカード価格の取得を開始。