spotify_ex v2.2.1 Spotify.Follow View Source
Follow users or artists
Link to this section Summary
Functions
Add the current user as a follower of one or more artists or other Spotify users. Spotify Documentation
Add the current user as a follower of one or more artists or other Spotify users
Link to this section Functions
Link to this function
build_response(body) View Source
Link to this function
follow(conn, params) View Source
Add the current user as a follower of one or more artists or other Spotify users. Spotify Documentation
Required Params: type
, ids
Method: PUT
Spotify.Follow.follow(conn, type: "artist", ids: "1,4")
# => :ok
Link to this function
follow_url(params) View Source
Add the current user as a follower of one or more artists or other Spotify users.
iex> Spotify.Follow.follow_url(ids: "1,4", type: "artist")
"https://api.spotify.com/v1/me/following?ids=1%2C4&type=artist"
Link to this function