Sptfy.Profile (Sptfy v0.1.3) View Source

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

Link to this section Summary

Link to this section Functions

Link to this function

get_my_profile(token, params \\ %{})

View Source

Specs

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

GET /v1/me

Link to this function

get_profile(token, params \\ %{})

View Source

Specs

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

GET /v1/users/:id

Parameters

  • id: required