Description Usage Arguments Details Value References Examples
Returns a string vector of up to 20 full English card names that could be
autocompletions of the given name
argument.
1 | autocomplete_name(name, include_extras = FALSE)
|
name |
A string with a card's name (or part of it). See details. |
include_extras |
If |
The 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).
A string vector.
https://scryfall.com/docs/api/cards/autocomplete
1 2 | # Get all related card names
autocomplete_name("falken")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.