EVOLUTION-MANAGER
Edit File: get_user_playlists.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Get List of User Playlists</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for get_user_playlists {spotifyr}"><tr><td>get_user_playlists {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get List of User Playlists</h2> <h3>Description</h3> <p>Get a list of the playlists owned or followed by a Spotify user. </p> <h3>Usage</h3> <pre> get_user_playlists( user_id, limit = 20, offset = 0, authorization = get_spotify_authorization_code(), include_meta_info = FALSE ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>user_id</code></td> <td> <p>Required. The user's <a href="https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids">Spotify user ID</a>.</p> </td></tr> <tr valign="top"><td><code>limit</code></td> <td> <p>Optional. <br /> Maximum number of playlists to return. <br /> Default: 20 <br /> Minimum: 1 <br /> Maximum: 50 <br /></p> </td></tr> <tr valign="top"><td><code>offset</code></td> <td> <p>Optional. <br /> The index of the first playlist to return. <br /> Default: 0 (the first object). Maximum offset: 100,000. Use with <code>limit</code> to get the next set of playlists.</p> </td></tr> <tr valign="top"><td><code>authorization</code></td> <td> <p>Required. A valid access token from the Spotify Accounts service. See the <a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/">Web API authorization Guide</a> for more details. Defaults to <code>spotifyr::get_spotify_authorization_code()</code>. The access token must have been issued on behalf of the current user. <br /> Private playlists are only retrievable for the current user and requires the <code>playlist-read-private</code> <a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/#list-of-scopes">scope</a> to have been authorized by the user. Note that this scope alone will not return collaborative playlists, even though they are always private. <br /> Collaborative playlists are only retrievable for the current user and requires the <code>playlist-read-collaborative</code> <a href="https://developer.spotify.com/documentation/general/guides/authorization-guide/#list-of-scopes">scope</a> to have been authorized by the user.</p> </td></tr> <tr valign="top"><td><code>include_meta_info</code></td> <td> <p>Optional. Boolean indicating whether to include full result, with meta information such as <code>"total"</code>, and <code>"limit"</code>. Defaults to <code>FALSE</code>.</p> </td></tr> </table> <h3>Value</h3> <p>Returns a data frame of results containing user playlist information. See the official <a href="https://developer.spotify.com/documentation/web-api/reference/playlists/get-list-users-playlists/">Spotify Web API documentation</a> for more information. </p> <h3>See Also</h3> <p>Other playlist functions: <code><a href="add_tracks_to_playlist.html">add_tracks_to_playlist</a>()</code>, <code><a href="change_playlist_details.html">change_playlist_details</a>()</code>, <code><a href="check_users_following.html">check_users_following</a>()</code>, <code><a href="create_playlist.html">create_playlist</a>()</code>, <code><a href="get_my_playlists.html">get_my_playlists</a>()</code>, <code><a href="get_playlist.html">get_playlist</a>()</code>, <code><a href="remove_tracks_from_playlist.html">remove_tracks_from_playlist</a>()</code>, <code><a href="tidy.html">tidy</a>()</code> </p> <hr /><div style="text-align: center;">[Package <em>spotifyr</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>