api

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAlbumInfo

func GetAlbumInfo(albID string) (types.AlbumType, error)

GetAlbumInfo fetches detailed album information.

func GetAlbumInfoPublicApi

func GetAlbumInfoPublicApi(albID string) (types.AlbumTypePublicApi, error)

GetAlbumInfoPublicApi fetches public album information from the API.

func GetAlbumTracks

func GetAlbumTracks(albID string) (types.AlbumTracksType, error)

GetAlbumTracks fetches tracks of a given album.

func GetArtistInfo

func GetArtistInfo(artID string) (types.ArtistInfoType, error)

GetArtistInfo fetches information about an artist.

func GetChannelList

func GetChannelList() (types.ChannelSearchType, error)

GetChannelList fetches a list of available channels.

func GetDiscography

func GetDiscography(artID string, nb int) (types.DiscographyType, error)

GetDiscography fetches an artist's discography.

func GetLyrics

func GetLyrics(sngID string) (types.LyricsType, error)

GetLyrics fetches lyrics for a given track.

func GetPlaylistInfo

func GetPlaylistInfo(playlistID string) (types.PlaylistInfo, error)

GetPlaylistInfo fetches information about a playlist.

func GetPlaylistTracks

func GetPlaylistTracks(playlistID string) (types.PlaylistTracksType, error)

GetPlaylistTracks fetches tracks in a given playlist.

func GetProfile

func GetProfile(userID string) (types.ProfileType, error)

GetProfile fetches user profile information.

func GetShowInfo

func GetShowInfo(showID string, nb, start int) (types.ShowType, error)

GetShowInfo fetches information about a show.

func GetTrackInfo

func GetTrackInfo(sngID string) (types.TrackType, error)

GetTrackInfo fetches detailed track information.

func GetTrackInfoPublicApi

func GetTrackInfoPublicApi(sngID string) (types.TrackTypePublicAPI, error)

GetTrackInfoPublicApi fetches public track information from the API.

func GetUser

func GetUser() (types.UserType, error)

GetUser fetches the current user's information.

func SearchAlternative

func SearchAlternative(artist, song string, nb int) (types.SearchType, error)

SearchAlternative searches for alternative tracks by artist and song name.

func SearchMusic

func SearchMusic(query string, nb int, searchTypes ...string) (types.SearchType, error)

SearchMusic searches for music based on a query.

Types

This section is empty.

Jump to

Keyboard shortcuts

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