This function returns the recommendend songs by Spotify.
get_tracks_recommendations(artist_uri, track_uri, limit = 10, access_token = DSpoty::get_spotify_access_token())
artist_uri | Artist ID. |
---|---|
track_uri | Track ID. |
limit | Integer indicating the max number of artists to return. Default 10. |
access_token | Spotify Web API token. Defaults to DSpoty::get_spotify_access_token(). |
Returns a data frame with the recommended artists information.
if (FALSE) { get_tracks_recommendations('7Ln80lUS6He07XvHI8qqHH', '0FgNSsaSZTvbLXUumSO8LQ') }