lastfm

package
v0.0.0-...-5edc56a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lastfm

type Lastfm struct {
	// contains filtered or unexported fields
}

func NewLastfm

func NewLastfm(config *config.Config) *Lastfm

func (*Lastfm) ArtistSearch

func (m *Lastfm) ArtistSearch(name string) (string, string)

func (*Lastfm) ArtistTopTracks

func (m *Lastfm) ArtistTopTracks(arid string) []TopTrack

func (*Lastfm) SimilarArtists

func (m *Lastfm) SimilarArtists(arid string) map[string]float64

type TopTrack

type TopTrack struct {
	Track string
	Rank  int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL