MTG SDK Elixir v0.1.4 Mtg View Source

Module defining all API calls

Link to this section Summary

Link to this section Types

Link to this type

filters() View Source
filters() :: [{atom() | binary(), any()}]

Link to this section Functions

Link to this function

generate_set_booster(code) View Source
generate_set_booster(binary()) ::
  {:ok, Mtg.Response.Collection.t()} | {:error, Mtg.Error.t()}

Link to this function

list(arg) View Source
list(module()) :: {:ok, [binary()]} | {:error, Mtg.Error.t()}

Link to this function

list(type, params \\ []) View Source
list(module(), filters()) ::
  {:ok, Mtg.Response.Collection.t()} | {:error, Mtg.Error.t()}

Link to this function

show(arg, id) View Source
show(module(), binary()) ::
  {:ok, Mtg.Card.t() | Mtg.Set.t()} | {:error, Mtg.Error.t()}