Joshua de la Bruere
{scryAnotherDay} is an R package that wraps the scryfall API. Scryfall is the leading 3rd party database for finding Magic the Gathering card data, such as printings, prices, previews, and rulings.
{scryfalleR} is currently in development and is very experimental. You can install this alpha version using devtools or remotes from this repository.
devtools::install_github("delabj/scryAnotherDay")
remotes::install_github("delabj/scryAnotherDay")This package is very much in the alpha stages, the API may change and breaking changes will be introduced. Use at your own risk while this is still experimental. The name is likely to change to be in accordance with the Scryfall Agreement. This package is not maintained nor endorsed this R package. If you have a suggestion for a name for the package, please open an issue, or contact me directly.
In general Scryfall asks that you make no more than 10 requests per second, in addition they reccomend that you chache the data from scryfall once every 25 hours, in general though small updates are made per day, prices are only updated every 24 hours, and gameplay information like card names, Oracle text, and mana costs, are made on a significantly less frequent basis. If only looking at elements that are unlikely to update, it is encouraged that you process the data locally in your own database, and update far less frequently.
Taken from the Scryfall docs:
As part of the Wizards of the Coast Fan Content Policy, Scryfall provides our card data and image database free of charge for the primary purpose of creating additional Magic software, performing research, or creating community content (such as videos, set reviews, etc) about Magic and related products.
When using Scryfall data, you must adhere to the following guidelines:
- You may not use Scryfall logos or use the Scryfall name in a way that implies Scryfall has endorsed you, your work, or your product.
- You may not require anyone to make payments, take surveys, agree to subscriptions, rate your content, or create accounts in exchange for access to Scryfall data.
- You may not use Scryfall data to create new games, or to imply the information and images are from any other game besides Magic: The Gathering.
- If you wish to use card images, please also review our image guidelines.