Get a list of the playlists owned or followed by a Spotify user.
get_user_playlists( user_id, limit = 20, offset = 0, authorization = get_spotify_authorization_code(), include_meta_info = FALSE )
Required. The user's Spotify user ID.
Optional. Maximum number of playlists to return. Default: 20 Minimum: 1 Maximum: 50
The index of the first playlist to return.
Default: 0 (the first object). Maximum offset: 100,000. Use with
limit to get the next set of playlists.
Required. A valid access token from the Spotify Accounts service. See the Web API authorization Guide for more details. Defaults to
spotifyr::get_spotify_authorization_code(). The access token must have been issued on behalf of the current user.
Private playlists are only retrievable for the current user and requires the
playlist-read-private scope to have been authorized by the user. Note that this scope alone will not return collaborative playlists, even though they are always private.
Collaborative playlists are only retrievable for the current user and requires the
playlist-read-collaborative scope to have been authorized by the user.
Optional. Boolean indicating whether to include full result, with meta information such as
"limit". Defaults to
Returns a data frame of results containing user playlist information. See the official Spotify Web API documentation for more information.