scry-bulk {scryr}R Documentation

Retrieve information about bulk data files

Description

Scryfall provides daily exports of our card data in bulk files. Each of these files is represented as a bulk_data object via the API. See details.

Usage

scry_bulk_files()

scry_bulk_file(name)

Arguments

name

A string with file to be downloaded. Can be any one of ⁠Oracle Cards⁠, ⁠Unique Artwork⁠, ⁠Default Cards⁠, ⁠All Cards⁠ or Rulings. See details.

Details

URLs for files change their timestamp each day, and can be fetched programmatically. The currently available files are the following:

Please note:

Bulk data is only collected once every 12 hours. You can use scry_cards() to retrieve fresh objects instead.

Value

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

References

https://scryfall.com/docs/api/bulk-data

Examples


# Get information about bulk data files
scry_bulk_files()

# Download a bulk data file
scry_bulk_file("Rulings")



[Package scryr version 1.0.0 Index]