spotify_ex v2.0.2 Spotify.Profile
Endpoints for retrieving information about a user’s profile.
There are two functions for each endpoint, one that actually makes the request, and one that provides the endpoint:
Spotify.Playist.create_playlist(conn, "foo", "bar") # makes the POST request.
Spotify.Playist.create_playlist_url("foo", "bar") # provides the url for the request.
https://developer.spotify.com/web-api/user-profile-endpoints/
Summary
Functions
Implements the hook expected by the Responder behaviour
Get detailed profile information about the current user (including the current user’s username). Spotify Documentation
Get detailed profile information about the current user (including the current user’s username)
Get public profile information about a Spotify user. Spotify Documentation
Get public profile information about a Spotify user
Functions
Get detailed profile information about the current user (including the current user’s username). Spotify Documentation
Method: GET
Uses your auth token to find your profile.
Spotify.Profile.me(conn)
# => { :ok, %Spotify.Profile{..} }
Get detailed profile information about the current user (including the current user’s username).
iex> Spotify.Profile.me_url
"https://api.spotify.com/v1/me"
Get public profile information about a Spotify user. Spotify Documentation
Method: GET
Spotify.Profile.user(conn, "123")
# => { :ok, %Spotify.Profile{..} }