Spotify Web API v0.4.0 Spotify.Category View Source
An object containing category information.
Link to this section Summary
Types
A link to the Web API endpoint returning full details of the category
The category icon, in various sizes
The Spotify category ID of the category
The name of the category
The full Category object
Link to this section Types
A link to the Web API endpoint returning full details of the category.
The category icon, in various sizes.
The Spotify category ID of the category.
The name of the category.
t() :: %Spotify.Category{href: Spotify.Category.href() | nil, icons: Spotify.Category.icons() | nil, id: Spotify.Category.id() | nil, name: Spotify.Category.name() | nil}
The full Category object.
Contains all the values listed in the Spotify Docs
Link to this section Functions
Returns each Object Models’ model for json decoding.
This callback is passed into Poison.decode
:as
option for formatting
incoming json as structs. Each Object Model should implement it, and nest
other Object Models’ as
functions in their own as needed.
Callback implementation for Spotify.ObjectModel.as/0
.