byId

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

Returns a Set with the given Scryfall id. https://scryfall.com/docs/api/sets/id

Parameters

id
  • The Scryfall ID.

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.