youtube

package
v0.0.0-...-ea4a04f Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(apiKey string, metadataCacheTTL, itemsCacheTTL time.Duration, maxResults int64, timeout time.Duration) (*Client, error)

func (*Client) GetChannel

func (c *Client) GetChannel(channelID string) (*youtube.Channel, error)

func (*Client) GetChannelForUsername

func (c *Client) GetChannelForUsername(username string) (*youtube.Channel, error)

func (*Client) GetPlaylist

func (c *Client) GetPlaylist(playlistID string) (*youtube.Playlist, error)

func (*Client) GetPlaylistItems

func (c *Client) GetPlaylistItems(playlistID string) ([]*youtube.PlaylistItem, error)

Jump to

Keyboard shortcuts

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