EVOLUTION-MANAGER
Edit File: get_category.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 a single category used to tag items</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_category {spotifyr}"><tr><td>get_category {spotifyr}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Get a single category used to tag items</h2> <h3>Description</h3> <p>Get a single category used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab). </p> <h3>Usage</h3> <pre> get_category( category_id, country = NULL, locale = NULL, authorization = get_spotify_access_token() ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>category_id</code></td> <td> <p>Required. The <a href="https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids">Spotify ID</a> for the category.</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 to ensure that the category exists for a particular country.</p> </td></tr> <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).</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> </table> <h3>Value</h3> <p>Returns a list of results containing category information. 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> <hr /><div style="text-align: center;">[Package <em>spotifyr</em> version 2.2.3 <a href="00Index.html">Index</a>]</div> </body></html>