Sptfy.Personalization (Sptfy v0.1.3) View Source

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

Link to this section Summary

Link to this section Functions

Link to this function

get_top_artists(token, params \\ %{})

View Source

Specs

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

GET /v1/me/top/artists

Parameters

  • time_range
  • limit
  • offset
Link to this function

get_top_tracks(token, params \\ %{})

View Source

Specs

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

GET /v1/me/top/tracks

Parameters

  • time_range
  • limit
  • offset