get_card_by_id: Retrieve a card from the Scryfall API using the card's ID.

get_card_by_idR Documentation

Retrieve a card from the Scryfall API using the card's ID.

Description

Retrieve a card from the Scryfall API using the card's ID.

Usage

get_card_by_id(
  id,
  type = "scryfall",
  format = NULL,
  face = NULL,
  version = NULL,
  set = NULL
)

Arguments

id

ID value(s) to search for.

type

Which ID type to use ("scryfall" (default), "mtgo", "arena", "collector", "multiverse").

format

Which format should be retrieved.

face

Which card face to return.

version

Which image version to return ("" (default), "small", "normal", "large").

set

Which set to request (Optional).

Value

A tibble containing card information.


mooreaw/scRyfall documentation built on Nov. 9, 2022, 2:54 a.m.