vtubers

package module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YoutubeStruct

type YoutubeStruct struct {
	ChannelId   string
	Client      *youtube.Service
	SearchList  *youtube.SearchListCall
	VideosList  *youtube.VideosListCall
	ChannelList *youtube.ChannelsListCall
}

func New

func New(filename string, channelId string) (*YoutubeStruct, error)

func (*YoutubeStruct) GetChannelInfo

func (s *YoutubeStruct) GetChannelInfo() (*youtube.ChannelListResponse, error)

func (*YoutubeStruct) GetCompletedLive

func (s *YoutubeStruct) GetCompletedLive() (*youtube.SearchListResponse, error)

func (*YoutubeStruct) GetLiveMessages

func (s *YoutubeStruct) GetLiveMessages(livechatId string, callback func(*youtube.LiveChatMessageListResponse) error) error

func (*YoutubeStruct) GetNowLive

func (s *YoutubeStruct) GetNowLive() (*youtube.SearchListResponse, error)

func (*YoutubeStruct) GetUpcomingLive

func (s *YoutubeStruct) GetUpcomingLive() (*youtube.SearchListResponse, error)

func (*YoutubeStruct) GetVideo

func (s *YoutubeStruct) GetVideo(videoId string) (*youtube.VideoListResponse, error)

Jump to

Keyboard shortcuts

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