byId

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

Returns a Bulk Data object with the given Scryfall id. https://scryfall.com/docs/api/bulk-data/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.