TwitchApi.ApiJson.Item (TwitchApi v0.1.2) View Source

Provides an ecto schema for working with twitch api json items.

Link to this section Summary

Functions

Provides the changeset for twitch api json items

Fetchs the twitch api json items

Link to this section Types

Specs

t() :: %TwitchApi.ApiJson.Item{
  category: TwitchApi.ApiJson.Item.Category.t(),
  doc: TwitchApi.ApiJson.Item.Doc.t(),
  id: term(),
  request: TwitchApi.ApiJson.Item.Request.t()
}

Link to this section Functions

Link to this function

changeset(struct, params)

View Source

Specs

changeset(struct(), %{required(binary()) => any()}) :: Ecto.Changeset.t()

Provides the changeset for twitch api json items

Specs

get_api_items() :: [t()]

Fetchs the twitch api json items