google.calendar#

class platypush.plugins.google.calendar.GoogleCalendarPlugin(*args, **kwargs)[source]#

Bases: GooglePlugin, CalendarInterface

Google calendar plugin.

Requires:

  • google-api-python-client (pip install google-api-python-client)

  • oauth2client (pip install oauth2client)

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

Initialized the Google plugin with the required scopes.

Parameters:

scopes (list) – List of required scopes

get_upcoming_events(max_results=10)[source]#

Get the upcoming events. See get_upcoming_events().