public getCategory ( string $categoryId, array | object $options = [] ) : array | object | ||
$categoryId | string | The Spotify ID of the category. |
$options | array | object | Optional. Options for the category. - string locale Optional. Language to show category in, for example sv_SE. - string country Optional. An ISO 3166-1 alpha-2 country code. Show category from this country. |
Результат | array | object | The category. Type is controlled by SpotifyWebAPI::setReturnAssoc(). |