Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchResponse ¶
type SearchResponse struct { Results SearchResult `json:"results"` RequestId string `json:"requestId"` CategoriesOrder []string `json:"categoriesOrder"` }
type SearchResult ¶
type SearchResult struct { Tracks struct { Hits []Track `json:"hits"` Total int `json:"total"` } `json:"tracks"` Albums struct { Hits []Album `json:"hits"` Total int `json:"total"` } `json:"albums"` Artists struct { Hits []Artist `json:"hits"` Total int `json:"total"` } `json:"artists"` Playlists struct { Hits []Playlist `json:"hits"` Total int `json:"total"` } `json:"playlists"` Profiles struct { Hits []Profile `json:"hits"` Total int `json:"total"` } `json:"profiles"` Genres struct { Hits []Genre `json:"hits"` Total int `json:"total"` } `json:"genres"` TopHit struct { Hits []TopHit `json:"hits"` Total int `json:"total"` } `json:"topHit"` Shows struct { Hits []Show `json:"hits"` Total int `json:"total"` } `json:"shows"` VideoEpisodes struct { Hits []VideoEpisode `json:"hits"` Total int `json:"total"` } `json:"videoEpisodes"` TopRecommendations struct { Hits []TopRecommendation `json:"hits"` Total int `json:"total"` } `json:"topRecommendations"` Error error }
type SuggestResult ¶
type TopHit ¶
type TopHit struct { Uri string `json:"uri"` Name string `json:"name"` Image string `json:"image"` Verified bool `json:"verified"` Following bool `json:"following"` FollowersCount int `json:"followersCount"` Author string `json:"author"` Log struct { Origin string `json:"origin"` TopHit string `json:"top_hit"` } `json:"log"` Artists []Artist `json:"artists"` Album Album `json:"album"` }
type TopRecommendation ¶
type TopRecommendation struct { }
type VideoEpisode ¶
Click to show internal directories.
Click to hide internal directories.