platypush.plugins.google.youtube

class platypush.plugins.google.youtube.GoogleYoutubePlugin(*args, **kwargs)[source]

YouTube plugin

__init__(*args, **kwargs)[source]

Initialized the Google plugin with the required scopes.

Parameters:scopes (list) – List of required scopes
search(parts=None, query='', types=None, max_results=25, **kwargs)[source]

Search for YouTube content.

Parameters:
Returns:

A list of YouTube resources. See the Getting started - Resource.