Skip to content

The Python SDK

This content is not available in your language yet.

Pypi VersionPypi DownloadsGithub starsthe TCGdex Python SDK is released under the MIT license.Discord Link

Installation

Run the following command to use it with pip

Terminal window
pip install tcgdex-sdk

Usage

from tcgdexsdk import TCGdex
tcgdex = TCGdex("en") # You can also use `Language.EN` TCGdex(Language.EN)
res = await tcgdex.card.get("swsh1-136")

You can check in the JSON REST API docs and select the correct tab to see the command specific for your SDK

Source Code

The source code for the SDK is available on Github !