scryr: An Interface to the 'Scryfall' API
Caio Lente · 2022
Returns a string vector of up to 20 full English card names that could be autocompletions of the given name argument.Usage autocomplete_name(name, include_extras = FALSE) Arguments name A string with a card's name (or part of it).See details.include_extras If TRUE, extra cards (tokens, planes, etc) will be included. DetailsThe names are sorted with the nearest match first, highly favoring results that begin with your given string.Spaces, punctuation, and capitalization are ignored.If name is less than 2 characters long, or if no names match, the vector will contain 0 elements (instead of returning any errors).Value A string vector.