module Moxfield::Api::Search

Defined in:

moxfield/api/search.cr

Instance Method Summary

Instance Method Detail

def card_query(q : String) : Moxfield::Types::CardList(Types::Card) #

This function searches for cards that match a given query string.


[View source]
def deck_query(page = 1, size = 100, sort : SortType = SortType::Updated, dir = SORT_DES, format : String | Nil = nil, commander_card_id : String | Nil = nil) : Moxfield::Types::PagedResponse(Types::DeckDatum) #

This function searches for decks that match the specified criteria.


[View source]