Scryfall
This module wraps the Scryfall API into a small, easy to use library.
Included with this module are Typescript definitions for each method declaration and every object returned from the API.
Example usage
Finding a card:
// Requiring.const scryfall = ;// Using the import statement.;// Alternative import method.; // Getting by set code and collector number.scryfall; // You can also omit a callback to have the method return a promise instead.const card = await scryfall;console; // "Gideon, Ally of Zendikar"console; // 4 // Getting by multiverse id.scryfall; // Getting by mtgo id.scryfall; // Getting by scryfall id.scryfall;
Finding cards from a particular set:
scryfall;