YouTube Data API

Instance Methods

activities()

Returns the activities Resource.

captions()

Returns the captions Resource.

channelBanners()

Returns the channelBanners Resource.

channelSections()

Returns the channelSections Resource.

channels()

Returns the channels Resource.

commentThreads()

Returns the commentThreads Resource.

comments()

Returns the comments Resource.

guideCategories()

Returns the guideCategories Resource.

i18nLanguages()

Returns the i18nLanguages Resource.

i18nRegions()

Returns the i18nRegions Resource.

liveBroadcasts()

Returns the liveBroadcasts Resource.

liveChatBans()

Returns the liveChatBans Resource.

liveChatMessages()

Returns the liveChatMessages Resource.

liveChatModerators()

Returns the liveChatModerators Resource.

liveStreams()

Returns the liveStreams Resource.

playlistItems()

Returns the playlistItems Resource.

playlists()

Returns the playlists Resource.

search()

Returns the search Resource.

sponsors()

Returns the sponsors Resource.

subscriptions()

Returns the subscriptions Resource.

superChatEvents()

Returns the superChatEvents Resource.

thumbnails()

Returns the thumbnails Resource.

videoAbuseReportReasons()

Returns the videoAbuseReportReasons Resource.

videoCategories()

Returns the videoCategories Resource.

videos()

Returns the videos Resource.

watermarks()

Returns the watermarks Resource.

new_batch_http_request()

Create a BatchHttpRequest object based on the discovery document.

Method Details

new_batch_http_request()
Create a BatchHttpRequest object based on the discovery document.

        Args:
          callback: callable, A callback to be called for each response, of the
            form callback(id, response, exception). The first parameter is the
            request id, and the second is the deserialized response object. The
            third is an apiclient.errors.HttpError exception object if an HTTP
            error occurred while processing the request, or None if no error
            occurred.

        Returns:
          A BatchHttpRequest object based on the discovery document.