spotify_ex v1.0.1 Spotify.Recommendation
Spotify can make recommendations for you by providing seed data. The recommendation comes with tracks and the seed object
*Note: The possibilities here are quite large. Please read the spotify documentation.
Summary
Functions
Implements the hook required by the Responder
behavior.
Create a playlist-style listening experience based on seed artists, tracks and genres.
The response generated by this can vary. Your milage may vary. Because of this, you may want
to use get_recommendations_url
and use your own implementation for this function.
Method: GET
Params: The params for this endpoint are complex. Refer to spotify docs
Spotify.Recommendation.get_recommendations(seed_artists: "1,2" energy: "6")
# => { :ok, %Recommendation{tracks: tracks, seeds: seeds} }