Learn R Programming

spotifyr (version 1.0.0)

get_user_audio_features: Get features and popularity for all of a user's playlists on Spotify

Description

This function returns the popularity and audio features for every song for all of a given user's playlists on Spotify

Usage

get_user_audio_features(username, access_token = get_spotify_access_token())

Arguments

username

String of Spotify username. Can be found on the Spotify app. (See http://rcharlie.net/sentify/user_uri.gif for example)

access_token

Spotify Web API token. Defaults to spotifyr::get_spotify_access_token()

Examples

Run this code
# NOT RUN {
obama_track_features <- get_user_audio_features('barackobama')
# }

Run the code above in your browser using DataLab