EVOLUTION-MANAGER
Edit File: get_featured_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 Spotify featured 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_featured_playlists {spotifyr}"><tr><td>get_featured_playlists {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get list of Spotify featured playlists</h2> <h3>Description</h3> <p>Get a list of Spotify featured playlists (as shown, for example, on a Spotify player’s ‘Browse’ tab) </p> <h3>Usage</h3> <pre> get_featured_playlists( locale = NULL, country = NULL, timestamp = NULL, limit = 20, offset = 0, authorization = get_spotify_access_token(), include_meta_info = FALSE ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>locale</code></td> <td> <p>Optional. The desired language, consisting of an <a href="https://en.wikipedia.org/wiki/ISO_639-1">ISO 639-1</a> language code and an <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>, joined by an underscore. For example: <code>es_MX</code>, meaning "Spanish (Mexico)". Provide this parameter if you want the category strings returned in a particular language. Note that, if <code>locale</code> is not supplied, or if the specified language is not available, the category strings returned will be in the Spotify default language (American English). The <code>locale</code> parameter, combined with the <code>country</code> parameter, may give odd results if not carefully matched. For example <code>country=SE&locale=de_DE</code> will return a list of categories relevant to Sweden but as German language strings.</p> </td></tr> <tr valign="top"><td><code>country</code></td> <td> <p>Optional. A country: an <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country code</a>. Provide this parameter if you want the list of returned items to be relevant to a particular country. If omitted, the returned items will be relevant to all countries.</p> </td></tr> <tr valign="top"><td><code>timestamp</code></td> <td> <p>Optional. A timestamp in <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601 format</a>: <code>yyyy-MM-ddTHH:mm:ss</code>. Use this parameter to specify the user’s local time to get results tailored for that specific date and time in the day. If not provided, the response defaults to the current UTC time. Example: “2014-10-23T09:00:00” for a user whose local time is 9AM. If there were no featured playlists (or there is no data) at the specified time, the response will revert to the current UTC time.</p> </td></tr> <tr valign="top"><td><code>limit</code></td> <td> <p>Optional. The maximum number of items to return. Default to <code>20</code>. Minimum: 1. Maximum: 50.</p> </td></tr> <tr valign="top"><td><code>offset</code></td> <td> <p>Optional. The index of the first item to return. Defaults to <code>0</code>, i.e., the first object. Use with <code>limit</code> to get the next set of items.</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_access_token()</code></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 featured playlists. <br /> See <a href="https://developer.spotify.com/documentation/web-api/reference/users-profile/get-current-users-profile/">https://developer.spotify.com/documentation/web-api/reference/users-profile/get-current-users-profile/</a> for more information. </p> <h3>Examples</h3> <pre> ## Get Flemish-Dutch playlists from Belgium: get_featured_playlists( country = 'BE', locale = "nl_BE" ) </pre> <hr /><div style="text-align: center;">[Package <em>spotifyr</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>