bulk_data: Fetch Scryfall Bulk Data

Description Usage Arguments Value

Description

Scryfall releases bulk data files for cards and rulings that are updated daily. These functions wrap calling those APIs. The cards bulk data come in three versions: default (every card in English (unless only available in a non-English language)), oracle (one card per Oracle ID), and all (every card in every language). Documentation is available at https://scryfall.com/docs/api/bulk-data.

Usage

1
2
3
4
5
6
7
bulk_rulings()

bulk_default_cards(include_ids = FALSE, include_uris = FALSE)

bulk_oracle_cards(include_ids = FALSE, include_uris = FALSE)

bulk_all_cards(include_ids = FALSE, include_uris = FALSE)

Arguments

include_ids

Should results include ID variables (e.g. MTGO ID). Note that this includes Oracle ID, which may make it hard to work with bulk_oracle_cards if you're planning on using that as a unique ID.

include_uris

Should results include URI variables (e.g. the URL for the card on Scryfall)

Value

bulk_rulings returns a tibble of all rulings as of the latest update. oracle-id column refers to the card associate with the ruling. The bulk_*_cards functions return a tibble with all relevent cards as of the latest update.


khailper/scryr documentation built on Aug. 1, 2019, 9:35 p.m.