EVOLUTION-MANAGER
Edit File: get_new_releases.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 new releases</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_new_releases {spotifyr}"><tr><td>get_new_releases {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get new releases</h2> <h3>Description</h3> <p>Get a list of new album releases featured in Spotify (shown, for example, on a Spotify player’s “Browse” tab). </p> <h3>Usage</h3> <pre> get_new_releases( country = 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>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>limit</code></td> <td> <p>Optional. The maximum number of items to return. Default: 20. 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. Default: 0 (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>"country"</code>, <code>"offset"</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 new releases. <br /> See <a href="https://developer.spotify.com/documentation/web-api/reference/#category-browse">https://developer.spotify.com/documentation/web-api/reference/#category-browse</a> for more information. </p> <h3>Examples</h3> <pre> ## Get new Swedish music get_new_releases(country = 'SE', limit = 5) </pre> <hr /><div style="text-align: center;">[Package <em>spotifyr</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>