get_cards_by_name: Search for cards on Scryfall

Description Usage Arguments

View source: R/get_cards.R

Description

Returns a Card based on a name search string.

Usage

1
2
3
4
5
6
7
8
9
get_cards_by_name(
  q = "Jace, the Mind Sculptor",
  search_type = "exact",
  set = "",
  format = "csv",
  face = "front",
  version = "large",
  pretty = FALSE
)

Arguments

q

the card name to search for

search_type

is the search an "exact" or "fuzzy" search

set

set code to limit search to one set

format

The format to return the data in. "json", "CSV", "image"

face

The face that should be returned if format selected is "image"

version

The size of the image to return when using "image"

pretty

Should the JSON be prettified


delabj/scryAnotherDay documentation built on May 13, 2021, 9:22 p.m.