Documentation
¶
Overview ¶
Package applemusic implements a streamingproviders.Provider for the Apple Music streaming service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) Info ¶
func (p *Provider) Info() streamingproviders.Info
Info returns information about this provider.
func (*Provider) LookupSongByURL ¶
func (p *Provider) LookupSongByURL(ctx context.Context, u *url.URL) (*streamingproviders.Song, error)
LookupSongByURL returns a song from the provided URL. URL format should be: https://music.apple.com/us/album/album-name/123456789?i=123456789
func (*Provider) Search ¶
func (p *Provider) Search(ctx context.Context, song *streamingproviders.Song) (*streamingproviders.Song, error)
Search returns a song from this provider using a Song provided from another provider.
Click to show internal directories.
Click to hide internal directories.