mtg_sdk_ex v0.1.1 Mtg
Mtg module provides functions that make calls to magicthegathering.io for game information.
Link to this section Summary
Functions
returns the name of the artist given a card id
returns the information for a card given a card multiverse id
returns a list of cards by set
returns a list of cards by set
returns a list of strings representing the formats of MTG
returns the name of the artist given a card id
returns a list of strings representing the subtypes of MTG cards
returns a list of strings representing the supertypes of MTG cards
returns a list of strings representing the types of MTG cards
Link to this section Functions
artist(card_id)
returns the name of the artist given a card id
card(multiverse_id)
returns the information for a card given a card multiverse id
cards(opts \\ [])
returns a list of cards by set
cards_by_set(set_code, opts \\ [])
returns a list of cards by set
formats()
returns a list of strings representing the formats of MTG
set(set_code)
returns the name of the artist given a card id
subtypes()
returns a list of strings representing the subtypes of MTG cards
supertypes()
returns a list of strings representing the supertypes of MTG cards
types()
returns a list of strings representing the types of MTG cards