Learn R Programming

DSpoty (version 0.1.0)

get_tracks_recommendations: Get Tracks Recommendations

Description

This function returns the recommendend songs by Spotify.

Usage

get_tracks_recommendations(artist_uri, track_uri, limit = 10,
  access_token = DSpoty::get_spotify_access_token())

Arguments

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().

Value

Returns a data frame with the recommended artists information.

Examples

Run this code
# NOT RUN {
get_tracks_recommendations('7Ln80lUS6He07XvHI8qqHH', '0FgNSsaSZTvbLXUumSO8LQ')
# }

Run the code above in your browser using DataLab