spotify

package
v0.0.0-...-9174c1b Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrGettingSessionData       = errors.New("unable to get session data")
	ErrInvalidTrackData         = errors.New("invalid track data")
	ErrTrackNotFound            = errors.New("unable to find track on YouTube")
	ErrUnableToGetYoutubeStream = errors.New("unable to get YouTube stream")
	ErrDecodingApiResponse      = errors.New("error decoding API response")
)
View Source
var (
	ErrInvalidInput = errors.New("invalid input")
)

Functions

This section is empty.

Types

type Extractor

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

func NewExtractor

func NewExtractor() *Extractor

func (*Extractor) DefaultConfig

func (e *Extractor) DefaultConfig() extractor.ProviderConfig

func (*Extractor) Extract

func (e *Extractor) Extract(cfg extractor.ProviderConfig, input string) ([]extractor.Data, error)

func (*Extractor) Matches

func (e *Extractor) Matches(cfg extractor.ProviderConfig, input string) bool

Jump to

Keyboard shortcuts

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