Gatherer is the canonical source for Magic: The Gathering card details.
While useful, it lacks an interface for retrieving this data programmatically.
The lack of an API makes creating Magic-related applications unnecessarily
difficult.

The first and second forms are shorthand for tutor.card({id: id}, ...) and
tutor.card({name: name}, ...) respectively. The callback is passed an object
representing the specified card. Version-specific metadata such as flavor text
and rarity are included for cards specified by id. Attributes not applicable
to the card type (e.g. lands have no mana cost) or not present (e.g. certain
creatures have no rules text) are omitted.

tutor.card 'Demonic Tutor', (err, card)->

console.log card.name

# => "Demonic Tutor"

console.log card.mana_cost

# => "{1}{B}"

console.log card.text

# => "Search your library for a card and put that card into your hand. Then shuffle your library."