scry-sets {scryr}R Documentation

Retrieve information about sets

Description

A Set represents a group of related Magic cards. All cards on Scryfall belong to exactly one set.

Usage

scry_sets()

scry_set(id, source = "code")

Arguments

id

Unique set indentifier. May refer to any supported source.

source

Source to which id refers. Can be any one of code (the regular three to five-letter set code), scryfall or tcgplayer. See details.

Details

Due to Magic's long and complicated history, Scryfall includes many un-official sets as a way to group promotional or outlier cards together. Such sets will likely have a code that begins with p or t, such as pcel or tori. Official sets always have a three-letter set code, such as zen.

Value

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

References

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

Examples


# Get all sets
scry_sets()

# Get set using an ID
scry_set("vow")



[Package scryr version 1.0.0 Index]