Learn R Programming

DSpoty (version 0.1.0)

get_tracks_recommendations_by_name: Get Tracks Recommendations By Name

Description

This function returns the recommendend songs by Spotify.

Usage

get_tracks_recommendations_by_name(artist_name, track_name, limit = 10,
  access_token = DSpoty::get_spotify_access_token())

Arguments

artist_name

Artist Name character.

track_name

Track Name character.

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 songs information.

Examples

Run this code
# NOT RUN {
get_tracks_recommendations_by_name('Arctic Monkeys', 'Do I wanna know?')
# }

Run the code above in your browser using DataLab