Sptfy.Episode (Sptfy v0.1.3) View Source

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

Link to this section Summary

Link to this section Functions

Link to this function

get_episode(token, params \\ %{})

View Source

Specs

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

GET /v1/episodes/:id

Parameters

  • id: required
  • market
Link to this function

get_episodes(token, params \\ %{})

View Source

Specs

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

GET /v1/episodes

Parameters

  • ids: required
  • market