Sptfy.Show (Sptfy v0.1.3) View Source

https://developer.spotify.com/documentation/web-api/reference-beta/#category-shows

Link to this section Summary

Link to this section Functions

Link to this function

get_episodes(token, params \\ %{})

View Source

Specs

get_episodes(token :: String.t(), params :: map() | Keyword.t()) ::
  {:ok, Sptfy.Object.Paging.t()}
  | {:error, Sptfy.Object.Error.t()}
  | {:error, Mint.Types.error()}

GET /v1/shows/:id/episodes

Parameters

  • id: required
  • market
  • limit
  • offset
Link to this function

get_show(token, params \\ %{})

View Source

Specs

get_show(token :: String.t(), params :: map() | Keyword.t()) ::
  {:ok, Sptfy.Object.FullShow.t()}
  | {:error, Sptfy.Object.Error.t()}
  | {:error, Mint.Types.error()}

GET /v1/shows/:id

Parameters

  • id: required
  • market
Link to this function

get_shows(token, params \\ %{})

View Source

Specs

get_shows(token :: String.t(), params :: map() | Keyword.t()) ::
  {:ok, [Sptfy.Object.SimplifiedShow.t()]}
  | {:error, Sptfy.Object.Error.t()}
  | {:error, Mint.Types.error()}

GET /v1/shows

Parameters

  • ids: required
  • market