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