Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccessTokenClient ¶
func NewTrackStorage ¶
func NewTrackStorage(session *sessions.Session) core.TrackStorage
Types ¶
type Query ¶
Represents the query options available to Spotify's Search API.
https://developer.spotify.com/console/get-search-item/
func NewQuery ¶
Converts a slice of core.Filter into a Query.
The current behavior is to use the last value provided for a given field. This means that if multiple filters with FilterKey == Artist were offered, then the last artist value would be sent to Spotify.
This function treats Equal and Contain the same because further filtering is expected to be performed somewhere down the line.
Click to show internal directories.
Click to hide internal directories.