Open nlamirault opened 9 years ago
Checking unit tests, i find my error. It works now :
events = cal.list_events(start, end, details=True)
for event in events.events:
print "{start} {stop} - {subject}".format(
start=event.start,
stop=event.end,
subject=event.subject
)
You should update documentation like this :
events = my_calendar.list_events(
start=timezone("US/Eastern").localize(datetime(2014, 10, 1, 11, 0, 0)),
end=timezone("US/Eastern").localize(datetime(2014, 10, 29, 11, 0, 0)),
details=True
)
for event in events.events:
print "{start} {stop} - {subject}".format(
start=event.start,
stop=event.end,
subject=event.subject
)
I can retrieve all my events from calendar (like this [1]) but objet is not iterable :
I've got this error :
I'm using v0.6
[1] : https://pyexchange.readthedocs.org/en/latest/#listing-events