|
|
|
@ -44,9 +44,13 @@ class event: |
|
|
|
self.summary = summary, |
|
|
|
self.description = description, |
|
|
|
self.location = location |
|
|
|
def add_reminder(self,minutes_till,method = 'popup'): |
|
|
|
def add_reminder(self,minutes_until,method = 'popup'): |
|
|
|
pass |
|
|
|
def add_weekly_recurrence(self,*days) |
|
|
|
def add_weekly_recurrence(self,*days): |
|
|
|
pass |
|
|
|
def json(self): |
|
|
|
pass |
|
|
|
|
|
|
|
class calendar_api(API): |
|
|
|
def __init__(self, |
|
|
|
app_name, |
|
|
|
@ -113,4 +117,4 @@ class calendar_api(API): |
|
|
|
break |
|
|
|
return ret |
|
|
|
if __name__ == "__main__": |
|
|
|
my_api = calendar_api(APPLICATION_NAME,r'..\test\calendar\client_secret.json',r'..\test\calendar') |
|
|
|
my_api = calendar_api(APPLICATION_NAME,r'..\test\calendar\client_secret.json',r'..\test\calendar') |