EVOLUTION-MANAGER
Edit File: get_artist_albums.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 Spotify catalog information for multiple artists...</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_artist_albums {spotifyr}"><tr><td>get_artist_albums {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get Spotify catalog information for multiple artists identified by their Spotify IDs.</h2> <h3>Description</h3> <p>Get Spotify catalog information for multiple artists identified by their Spotify IDs. </p> <h3>Usage</h3> <pre> get_artist_albums( id, include_groups = c("album", "single", "appears_on", "compilation"), market = 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>id</code></td> <td> <p>The <a href="https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids">Spotify ID</a> for the artist.</p> </td></tr> <tr valign="top"><td><code>include_groups</code></td> <td> <p>Optional. A character vector of keywords that will be used to filter the response. If not supplied, all album types will be returned. Valid values are: <br /> <code>"album"</code> <br /> <code>"single"</code> <br /> <code>"appears_on"</code> <br /> <code>"compilation"</code> <br /> For example: <code>include_groups = c("album", "single")</code></p> </td></tr> <tr valign="top"><td><code>market</code></td> <td> <p>Optional. <br /> An ISO 3166-1 alpha-2 country code or the string <code>"from_token"</code>. <br /> Supply this parameter to limit the response to one particular geographical market. For example, for albums available in Sweden: <code>market = "SE"</code>. <br /> If not given, results will be returned for all markets and you are likely to get duplicate results per album, one for each market in which the album is available!</p> </td></tr> <tr valign="top"><td><code>limit</code></td> <td> <p>Optional. <br /> Maximum number of results 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 album to return. <br /> Default: 0 (i.e., the first album). <br /> Use with limit to get the next set of albums.</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 artist data. See <a href="https://developer.spotify.com/documentation/web-api/reference/artists/get-several-artists/">https://developer.spotify.com/documentation/web-api/reference/artists/get-several-artists/</a> for more information. </p> <h3>See Also</h3> <p>Other artist functions: <code><a href="get_artist_top_tracks.html">get_artist_top_tracks</a>()</code>, <code><a href="get_artists.html">get_artists</a>()</code>, <code><a href="get_artist.html">get_artist</a>()</code>, <code><a href="get_my_followed_artists.html">get_my_followed_artists</a>()</code>, <code><a href="get_related_artists.html">get_related_artists</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>