namedFuzzy

suspend fun namedFuzzy(name: String, set: String? = null, format: String? = "json", face: String? = null, version: String? = null, pretty: Boolean? = false): Card

Returns a Card based on a name search string. The server allows misspellings and partial words to be provided. For example: jac bele will match Jace Beleren. https://scryfall.com/docs/api/cards/named

Parameters

name
  • A fuzzy card name to search for.

set
  • A set code to limit the search to one set.

format
  • The data format to return: json, text, or image. Defaults to json.

face
  • If using the image format and this parameter has the value back, the back face of the card will be returned. Will return a 422 if this card has no back face.

version
  • The image version to return when using the image format: small, normal, large, png, art_crop, or border_crop. Defaults to large.

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