youtube

package
v0.0.0-...-d660ffc Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToPlaylist

func AddToPlaylist(playlistId, videoId string, auth *oauth2.AuthData) error

func CreatePlaylist

func CreatePlaylist(name string, auth *oauth2.AuthData) (string, error)

Types

type Id

type Id struct {
	Kind    string `json:"kind"`
	VideoId string `json:"videoId"`
}

type SearchItem

type SearchItem struct {
	Id      Id      `json:"id"`
	Snippet snippet `json:"snippet"`
}
func Search(query string, auth *oauth2.AuthData) ([]SearchItem, error)

type SearchResults

type SearchResults struct {
	Items []SearchItem `json:"items"`
}

Jump to

Keyboard shortcuts

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