Spotify Web API v0.4.0 Spotify.Context View Source
A Context object.
Link to this section Summary
Types
External URLs for this context
A link to the Web API endpoint providing full details of the track
The full Context object
The object type, e.g. artist
, playlist
, album
The Spotify URI for the context
Link to this section Types
External URLs for this context.
A link to the Web API endpoint providing full details of the track.
t() :: %Spotify.Context{external_urls: Spotify.Context.external_urls() | nil, href: Spotify.Context.href() | nil, type: Spotify.Context.type() | nil, uri: Spotify.Context.uri() | nil}
The full Context object.
Contains all the values listed in the Spotify Docs
The object type, e.g. artist
, playlist
, album
.
The Spotify URI for the context.
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
.