linkedin / pyexchange

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

get other account's public calendar #52

Open djwgit opened 9 years ago

djwgit commented 9 years ago

possible to get another account's public calendar ? as the function in viewpoint : https://github.com/WinRb/Viewpoint

cli = Viewpoint::EWSClient.new(endpoint, user, pass) start_time = DateTime.parse("2015-06-24").iso8601 end_time = DateTime.parse("2015-06-26").iso8601 user_free_busy = cli.get_user_availability(['conference_room1@company.com'], start_time: start_time, end_time: end_time, requested_view: :free_busy) busy_times = user_free_busy.calendar_event_array