Browse Source

adding event class

event_class
Raphael Roberts 7 years ago
parent
commit
b659c2753b
  1. 21
      gapi/calendar_api.py

21
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,

Loading…
Cancel
Save