calliope.youtube

Package Contents

Classes

YoutubeContext

Functions

get_channel_id(api, username)

export(api, channel_id)

class calliope.youtube.YoutubeContext(config, caching=True)
authenticate(self)

Authenticate to access public data.

To access private data, you need to use OAuth2 rather than API key authorisation, using google_auth_oauthlib.

calliope.youtube.get_channel_id(api, username)
calliope.youtube.export(api, channel_id)