mxmlyrics

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client represents a MusixMatch lyrics Client

func NewClient

func NewClient(MXMUserToken, MXMOBUserToken string) (client *Client)

NewClient returns a new MusixMatch client with provided tokens

func (*Client) GetLyrics

func (client *Client) GetLyrics(track, artist, album, artists, ISRC, SpotifyURI string, duration int) (result common.LyricsResult, err error)

GetLyrics returns the lyrics of the song with provided information

Jump to

Keyboard shortcuts

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