ytcommands

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateExecute

func AuthenticateExecute(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func AuthenticateSetup

func AuthenticateSetup(values *ytapi.Values, table *ytapi.Table) error

func BindBroadcast

func BindBroadcast(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func BroadcastSearch

func BroadcastSearch(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ChannelSearch

func ChannelSearch(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DefaultPlaylistsForChannel

func DefaultPlaylistsForChannel(service *ytservice.Service, values *ytapi.Values) (*youtube.ChannelContentDetailsRelatedPlaylists, error)

func DeleteBroadcast

func DeleteBroadcast(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeleteCaptionTrack

func DeleteCaptionTrack(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeleteChannelSection

func DeleteChannelSection(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeleteChatMessage

func DeleteChatMessage(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeleteChatModerator

func DeleteChatModerator(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeleteComment

func DeleteComment(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeleteLocalizedChannelMetadata

func DeleteLocalizedChannelMetadata(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeleteLocalizedVideoMetadata

func DeleteLocalizedVideoMetadata(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeletePlaylist

func DeletePlaylist(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeletePlaylistVideo

func DeletePlaylistVideo(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeleteStream

func DeleteStream(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DeleteVideo

func DeleteVideo(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func DownloadCaptionTrack

func DownloadCaptionTrack(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func GetBroadcast

func GetBroadcast(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func GetChatId

func GetChatId(service *ytservice.Service, values *ytapi.Values) (string, error)

func GetLocalizedChannelMetadata

func GetLocalizedChannelMetadata(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func GetLocalizedVideoMetadata

func GetLocalizedVideoMetadata(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func GetVideoMetadata

func GetVideoMetadata(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func GetVideoRating

func GetVideoRating(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func GetVideoThumbnail

func GetVideoThumbnail(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func InsertBroadcast

func InsertBroadcast(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func InsertChatMessage

func InsertChatMessage(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func InsertCommentForThread

func InsertCommentForThread(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func InsertPlaylist

func InsertPlaylist(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func InsertStream

func InsertStream(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func InsertVideoIntoPlaylist

func InsertVideoIntoPlaylist(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func InstallExecute

func InstallExecute(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListActivities

func ListActivities(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListBroadcasts

func ListBroadcasts(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListCaptionTracks

func ListCaptionTracks(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListCategories

func ListCategories(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListChannelCommentThreads

func ListChannelCommentThreads(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListChannelSections

func ListChannelSections(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListChannels

func ListChannels(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListChatMessages

func ListChatMessages(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListChatModerators

func ListChatModerators(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListCommentsForThread

func ListCommentsForThread(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListLanguages

func ListLanguages(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListPlaylistItems

func ListPlaylistItems(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListPlaylists

func ListPlaylists(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListRegions

func ListRegions(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListStreams

func ListStreams(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListVideoCommentThreads

func ListVideoCommentThreads(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListVideos

func ListVideos(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func ListVideosForPlaylist

func ListVideosForPlaylist(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func MarkCommentAsSpam

func MarkCommentAsSpam(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func NewChannelSection

func NewChannelSection(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func NewChatModerator

func NewChatModerator(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func PlaylistSearch

func PlaylistSearch(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func PostBulletin

func PostBulletin(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func PreviewBroadcast

func PreviewBroadcast(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func RegisterActivityFormat

func RegisterActivityFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterAuthenticateCommands

func RegisterAuthenticateCommands() []*ytapi.Command

func RegisterBroadcastCommands

func RegisterBroadcastCommands() []*ytapi.Command

func RegisterBroadcastFormat

func RegisterBroadcastFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterBroadcastSearchFormat

func RegisterBroadcastSearchFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterCaptionCommands

func RegisterCaptionCommands() []*ytapi.Command

func RegisterCaptionFormat

func RegisterCaptionFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterCategoryFormat

func RegisterCategoryFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterChannelCommands

func RegisterChannelCommands() []*ytapi.Command

func RegisterChannelFormat

func RegisterChannelFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterChannelSearchFormat

func RegisterChannelSearchFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterChannelSectionCommands

func RegisterChannelSectionCommands() []*ytapi.Command

func RegisterChannelSectionFormat

func RegisterChannelSectionFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterChatMessageFormat

func RegisterChatMessageFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterChatModeratorFormat

func RegisterChatModeratorFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterCommentFormat

func RegisterCommentFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterCommentThreadFormat

func RegisterCommentThreadFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterCommentsCommands

func RegisterCommentsCommands() []*ytapi.Command

func RegisterLanguageFormat

func RegisterLanguageFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterLanguageRegionCommands

func RegisterLanguageRegionCommands() []*ytapi.Command

func RegisterLiveChatCommands

func RegisterLiveChatCommands() []*ytapi.Command

func RegisterLocalizedChannelMetadataFormat

func RegisterLocalizedChannelMetadataFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterLocalizedVideoMetadataFormat

func RegisterLocalizedVideoMetadataFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterPlaylistCommands

func RegisterPlaylistCommands() []*ytapi.Command

func RegisterPlaylistFormat

func RegisterPlaylistFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterPlaylistItemFormat

func RegisterPlaylistItemFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterPlaylistSearchFormat

func RegisterPlaylistSearchFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterRegionFormat

func RegisterRegionFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterSearchCommands

func RegisterSearchCommands() []*ytapi.Command

func RegisterStreamCommands

func RegisterStreamCommands() []*ytapi.Command

func RegisterStreamFormat

func RegisterStreamFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterThumbnailFormat

func RegisterThumbnailFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterVideoCommands

func RegisterVideoCommands() []*ytapi.Command

func RegisterVideoFormat

func RegisterVideoFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterVideoRatingFormat

func RegisterVideoRatingFormat(values *ytapi.Values, table *ytapi.Table) error

func RegisterVideoSearchFormat

func RegisterVideoSearchFormat(values *ytapi.Values, table *ytapi.Table) error

func SetCommentModerationStatus

func SetCommentModerationStatus(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func SetVideoPublishDate

func SetVideoPublishDate(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func SetVideoRating

func SetVideoRating(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func SetVideoStatus

func SetVideoStatus(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func SetVideoThumbnail

func SetVideoThumbnail(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func StartBroadcast

func StartBroadcast(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func StopBroadcast

func StopBroadcast(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func TransitionBroadcast

func TransitionBroadcast(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UnbindBroadcast

func UnbindBroadcast(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UpdateBroadcast

func UpdateBroadcast(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UpdateChannelBanner

func UpdateChannelBanner(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UpdateChannelMetadata

func UpdateChannelMetadata(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UpdateChannelSection

func UpdateChannelSection(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UpdateLocalizedChannelMetadata

func UpdateLocalizedChannelMetadata(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UpdateLocalizedVideoMetadata

func UpdateLocalizedVideoMetadata(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UpdatePlaylist

func UpdatePlaylist(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UpdateVideoMetadata

func UpdateVideoMetadata(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UploadCaptionTrack

func UploadCaptionTrack(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func UploadVideo

func UploadVideo(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

func VideoSearch

func VideoSearch(service *ytservice.Service, values *ytapi.Values, table *ytapi.Table) error

Types

type Localization

type Localization struct {
	Language    string
	Title       string
	Description string
	Default     bool
}

type Thumbnail

type Thumbnail struct {
	Name   string
	Url    string
	Width  uint64
	Height uint64
}

Thumbnail defines thumbnail returned from video metadata

Jump to

Keyboard shortcuts

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