youtube

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotConnected = errors.New("not connected to YouTube")
	ErrNoVideos     = errors.New("search returned no videos")
	ErrNoMatches    = errors.New("no search results matched video metadata")
	ErrNoId         = errors.New("search result missing video ID")
)

Functions

func CreateService added in v0.3.0

func CreateService(ctx context.Context, opts ...option.ClientOption) error

func QueryVideoId

func QueryVideoId(ctx context.Context, artist, title string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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