spotify_ex v1.0.3 Spotify.Follow

Follow users or artists

Summary

Functions

Callback implementation for Responder.build_response/1

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

Functions

build_response(body)

Callback implementation for Responder.build_response/1.

follow(conn, params)

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
follow_url(params)

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"