punting on ChannelInfo for now
This commit is contained in:
parent
e926a2c1f6
commit
b59ef28267
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ func CountVideosInChannel(channelID string) (int, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func ChannelInfo(apiKey, channelID string) (*ytlib.ChannelSnippet, *ytlib.ChannelBrandingSettings, error) {
|
func ChannelInfo(apiKey, channelID string) (*ytlib.ChannelSnippet, *ytlib.ChannelBrandingSettings, error) {
|
||||||
|
panic("not de-youtube-ified yet")
|
||||||
service, err := ytlib.New(&http.Client{Transport: &transport.APIKey{Key: apiKey}})
|
service, err := ytlib.New(&http.Client{Transport: &transport.APIKey{Key: apiKey}})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, errors.Prefix("error creating YouTube service", err)
|
return nil, nil, errors.Prefix("error creating YouTube service", err)
|
||||||
|
|
Loading…
Reference in a new issue