Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YoutubeClient ¶
type YoutubeClient struct {
// contains filtered or unexported fields
}
YoutubeClient stores copy of youtube service
func NewYoutubeClient ¶
func NewYoutubeClient(devKey string) (*YoutubeClient, error)
NewYoutubeClient creates client for youtube
func (*YoutubeClient) Search ¶
func (yc *YoutubeClient) Search(query string) ([]*youtube.SearchResult, error)
Search performs query to youtube and return results
func (*YoutubeClient) SearchOnChannel ¶
func (yc *YoutubeClient) SearchOnChannel(query string) ([]*youtube.SearchResult, error)
SearchOnChannel performs query to youtube and return results
func (*YoutubeClient) SearchOnChannelByTime ¶
func (yc *YoutubeClient) SearchOnChannelByTime(query string) ([]*youtube.SearchResult, error)
SearchOnChannelByTime performs query to youtube and return results
Click to show internal directories.
Click to hide internal directories.