View Source Sptfy.Show (Sptfy v0.1.5)

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
@spec 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

Parameters

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

get_show(token, params \\ %{})

View Source
@spec 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

Parameters

  • id: required
  • market
Link to this function

get_shows(token, params \\ %{})

View Source
@spec 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

Parameters

  • ids: required
  • market