TCGplayer
TCGplayer Games API
Every game (product line) on TCGplayer, 71 at capture: game id, name, url_name (what search, sets and seller-products accept as game) and whether TCGplayer Direct carries it. No parameters. Costs 1 credit per request.
POST/api/v1/tcgplayer/games
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonRequest
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
games = client.tcgplayer.games()["data"]["games"]
by_url = {g["url_name"]: g for g in games}
print(len(games), by_url["one-piece-card-game"]["game_id"])Response
"count": 71,
},
"response_time": 1006
}