Members
-
spotify :Spotify
-
Description
The spotify client.
Details
Methods
-
get( id, country [, locale ] ) → {Promise.<(Category|HTTPError|ApiError)>}
-
Description
Get a single category used to tag items in Spotify.
Parameters
Name Type Attributes Description idstring The Spotify category ID for the category.
countrystring An ISO 3166-1 alpha-2 country code.
localestring <optional> The desired language, consisting of an ISO 639-1 language code and an ISO 3166-1 alpha-2 country code, joined by an underscore. For example: es_MX.
Returns
Details
-
all( options ) → {Promise.<(Array.<Category>|HTTPError|ApiError)>}
-
Description
Get a list of categories used to tag items in Spotify.
Parameters
Name Type Description optionsCategoryOptions Returns
Details