Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListenBrainz ¶
type ListenBrainz struct {
// contains filtered or unexported fields
}
func NewListenBrainz ¶
func NewListenBrainz(client client.Getter) *ListenBrainz
func (*ListenBrainz) ArtistTopTracks ¶
func (l *ListenBrainz) ArtistTopTracks(arid string) ([]TopTrack, error)
ArtistTopTracks returns all top tracks from ListenBrainz.
type Result ¶
type Result struct { // ignore artist_mbids // ignore artists ArtistName string `json:"artist_name"` Length int `json:"length"` RID string `json:"recording_mbid"` RecordingName string `json:"recording_name"` REID string `json:"release_mbid"` ReleaseName string `json:"release_name"` ListenCount int `json:"total_listen_count"` UserCount int `json:"user_count"` }
Click to show internal directories.
Click to hide internal directories.