library

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

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Library

type Library struct {
	Username string
	// contains filtered or unexported fields
}

Library represents a structure to help query the `library` LastFM API functions.

func New

func New(client *lastfm.Client, username string, limit int) (library *Library)

New returns an instance of the `library` API endpoint functions for LastFM.

func (*Library) GetArtists

func (l *Library) GetArtists(artist string, page int) (la *libraryArtists, err error)

GetArtists fetches all artists in the user's library, with play counts and tag counts from LastFM.

Jump to

Keyboard shortcuts

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