Documentation ¶
Index ¶
- func GetLyrics(title string) (string, error)
- func SearchAndGetLyrics(query string) (string, error)
- func SearchAndGetLyricsByArtistAndName(artist string, name string) (string, error)
- func SearchLyrics(query string) ([]string, error)
- func SearchLyricsByArtistAndName(artist string, name string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLyrics ¶
GetLyrics scrapes the lyrics of the given title The title should be a search result response
func SearchAndGetLyrics ¶
SearchAndGetLyrics searches for lyrics by a query and returns the lyrics of the first search result
func SearchAndGetLyricsByArtistAndName ¶
SearchAndGetLyricsByArtistAndName searches for lyrics by artist and name and returns the lyrics of the first search result
func SearchLyrics ¶
SearchLyrics searches for lyrics using a string query that can be part of the track name or artist
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.