punting on ChannelInfo for now

This commit is contained in:
Alex Grintsvayg 2020-07-27 16:02:52 -04:00
parent e926a2c1f6
commit b59ef28267
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -136,6 +136,7 @@ func CountVideosInChannel(channelID string) (int, 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}})
if err != nil {
return nil, nil, errors.Prefix("error creating YouTube service", err)