linkedin / pyexchange

Python wrapper for Microsoft Exchange
Apache License 2.0
152 stars 98 forks source link

Get all calendar IDs #50

Open bor8 opened 9 years ago

bor8 commented 9 years ago

What I have:

folders = service.folder().find_folder(parent_id='calendar')
for folder in folders:
    print folder.display_name, folder.id

returns: Local-calendar-1 XYZXYZ...= Local-calendar-2 YZAYZA...=

What I want: Local-calendar-1 XYZXYZ...= Local-calendar-2 YZAYZA...= Shared-calendar ZABZAB...=

With OutlookSpy I get an EntryID in hex, but its shorter than the pyexchange IDs (base64). I converted via:

'<EntryID>'.decode('hex').encode('base64')
adammclaurin78 commented 8 years ago

bor8, can you explain how you used OutlookSpy to get the EntryID for a particular shared calendar? This is where I'm currently getting stuck.

WimPletinckx commented 8 years ago

I would be interested in the same bor8. Thanks in advance.