get_card_by_id: Get card by ID

Description Usage Arguments Details Value

View source: R/get_cards.R

Description

Get a single card by it's given id from one of the following ID schemes:

Usage

1
2
3
4
5
6
7
8
9
get_card_by_id(
  id = 195297,
  format = "csv",
  face = "front",
  version = "large",
  pretty = FALSE,
  id_type = "multiverse",
  rulings = FALSE
)

Arguments

id

Arena ID

format

The format to return the data in. "json", "text", "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

id_type

what kind of id is being provided See details for options.

rulings

Boolean should the rulings for the card be returned?

Details

id_type

Value

either a list, data frame, or image depending on format


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