[][src]Function aspotify::endpoints::browse::get_category

pub async fn get_category<'_, '_>(
    token: &'_ AccessToken,
    name: &'_ str,
    locale: Option<(LanguageCode, CountryCode)>,
    country: Option<CountryCode>
) -> Result<Category, EndpointError<Error>>

Get information about a category.

If no locale is given or Spotify does not support the given locale, then it will default to American English.

Reference.