View Source Sptfy.Profile (Sptfy v0.1.5)

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

Parameters

  • id: required