Learn R Programming

scryr (version 1.0.0)

scry-rulings: Retrieve information about rulings

Description

Oracle rulings are Wizards of the Coast's set release notes or Scryfall's notes for a particular card.

Usage

scry_ruling(id, source = "scryfall")

scry_ruling_number(number, set)

Arguments

id

Unique card indentifier. May refer to any supported source.

source

Source to which id refers. Can be any one of scryfall, multiverse, mtgo, or arena.

number

The card's collector number for a set.

set

The three to five-letter set code.

Value

A data frame with 1 or more rows and the following columns:

  • oracle_id [chr]: Unique identifier on the Oracle database.

  • source [chr]: A computer-readable string indicating which company produced this ruling, either wotc or scryfall. See details.

  • published_at [date]: The date when the ruling or note was published.

  • comment [chr]: The text of the ruling.

Details

Rulings with a scryfall source have been added by the Scryfall team, either to provide additional context for the card, or explain how the card works in an unofficial format (such as Duel Commander).

References

https://scryfall.com/docs/api/rulings

Examples

Run this code
# NOT RUN {
# Get rulings for a card
scry_ruling("913dd06f-ed2f-4128-9c9d-9cd0d8a55425")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab