byTcgPlayerId

suspend fun byTcgPlayerId(id: String, format: String? = "json", pretty: Boolean? = false): Set

Returns a Set with the given tcgplayer_id, also known as the groupId on TCGplayer’s API. https://scryfall.com/docs/api/sets/tcgplayer

Parameters

id
  • The tcgplayer_id or groupId.

format
  • The data format to return. This method only supports json.

pretty
  • If true, the returned JSON will be prettified. Avoid using for production code.