relay

package
v0.0.0-...-60deb49 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YouTubeServiceV3

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

YouTubeServiceV3 implements the VideoRelay interface and provides api for searching videos with youtube sdk v3

func New

func New(apiKey string) (*YouTubeServiceV3, error)

func (*YouTubeServiceV3) ListByVideoIDs

func (s *YouTubeServiceV3) ListByVideoIDs(options ytrelay.Options) (resp interface{}, err error)

ListByVideoIDs supports the following parameters: part, id, maxResults, pageToken

func (*YouTubeServiceV3) ListPlaylistVideos

func (s *YouTubeServiceV3) ListPlaylistVideos(options ytrelay.Options) (resp interface{}, err error)

ListPlaylistVideos supports the following parameters: part, playlistId, maxResults, pageToken

func (*YouTubeServiceV3) Search

func (s *YouTubeServiceV3) Search(options ytrelay.Options) (resp interface{}, err error)

Search supports the following parameters: part, channelId, eventType, q, maxResults, pageToken, order, safeSearch, type

Jump to

Keyboard shortcuts

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