module
Scryfall::Api
Included Modules
- Toshi::Api
Extended Modules
- Toshi::Api::ClassMethods
Defined in:
scryfall/api.crConstant Summary
-
SF_SEARCH_PATH =
"/cards/search"
Class Method Summary
- .bulk_data(params = nil, headers = nil)
-
.catalog(catalog, params = nil, headers = nil)
https://scryfall.com/docs/api/catalogs
-
.fetch_card(id : UUID) : Scryfall::Card
Look up card in scryfall by id
-
.fetch_card(id, params = nil, headers = nil)
Look up card in scryfall by id
-
.fetch_card_by_mv(id, params = nil, headers = nil)
Look up card in scryfall by multiverse id
-
.fetch_card_by_set(set, num, params = nil, headers = nil)
Look up card in scryfall by set
- .get_ability_words(params = nil, headers = nil)
- .get_artifact_types(params = nil, headers = nil)
- .get_artist_names(params = nil, headers = nil)
- .get_card_names(params = nil, headers = nil)
- .get_creature_types(params = nil, headers = nil)
- .get_enchantment_types(params = nil, headers = nil)
- .get_keyword_abilities(params = nil, headers = nil)
- .get_keyword_actions(params = nil, headers = nil)
- .get_land_types(params = nil, headers = nil)
- .get_loyalties(params = nil, headers = nil)
- .get_planeswalker_types(params = nil, headers = nil)
- .get_powers(params = nil, headers = nil)
- .get_spell_types(params = nil, headers = nil)
- .get_toughnesses(params = nil, headers = nil)
- .get_watermarks(params = nil, headers = nil)
- .get_word_bank(params = nil, headers = nil)
- .logger
- .options : Options
- .pool : DB::Pool(HTTP::Client)
-
.query(q : String, params = Hash(String, String).new) : CardList
Look up cards on query
-
.search_card_by_name(name : String, set_code : String | Nil = nil) : CardList
Look up card in scryfall by name
- .sets(params = nil, headers = nil)
Macro Summary
Instance Method Summary
- #bulk_data(**args)
-
#catalog(**args)
https://scryfall.com/docs/api/catalogs
-
#fetch_card(**args)
Look up card in scryfall by id
-
#fetch_card_by_mv(**args)
Look up card in scryfall by multiverse id
-
#fetch_card_by_set(**args)
Look up card in scryfall by set
- #get_ability_words(**args)
- #get_artifact_types(**args)
- #get_artist_names(**args)
- #get_card_names(**args)
- #get_creature_types(**args)
- #get_enchantment_types(**args)
- #get_keyword_abilities(**args)
- #get_keyword_actions(**args)
- #get_land_types(**args)
- #get_loyalties(**args)
- #get_planeswalker_types(**args)
- #get_powers(**args)
- #get_spell_types(**args)
- #get_toughnesses(**args)
- #get_watermarks(**args)
- #get_word_bank(**args)
- #logger
- #options
- #pool
- #sets(**args)
Class Method Detail
Look up card in scryfall by multiverse id
Look up cards on query
Look up card in scryfall by name