Learn R Programming

spotifyr (version 1.0.0)

get_user_playlists: Get user playlists

Description

This function returns a dataframe of playlists for a given Spotify username

Usage

get_user_playlists(username, access_token = get_spotify_access_token())

Arguments

username

String of Spotify username. Can be found within the Spotify App

access_token

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

Examples

Run this code
# NOT RUN {
get_user_playlists('barackobama')
# }

Run the code above in your browser using DataLab