diff --git a/gapi/calendar_api.py b/gapi/calendar_api.py index 7600701..2dc5ee5 100644 --- a/gapi/calendar_api.py +++ b/gapi/calendar_api.py @@ -30,10 +30,25 @@ def dateTime(datetime): # 'start': {'dateTime': '2015-05-28T09:00:00-07:00', # 'timeZone': 'America/Los_Angeles'}, # 'summary': 'Google I/O 2015'} - +class event: + def __init__(self, + start, + end, + summary, + description = None, + recurrence = None + location = None, + ): + self.start = start, + self.end = end, + self.summary = summary, + self.description = description, + self.location = location + def add_reminder(self,minutes_till,method = 'popup'): + pass + def add_weekly_recurrence(self,*days) class calendar_api(API): - def __init__( - self, + def __init__(self, app_name, client_secret_file, credentials_dir,