pypi Office365-REST-Python-Client 2.4.3
v 2.4.3

latest releases: 2.5.10, 2.5.9, 2.5.8...
11 months ago

Changelog

  • #682: fixes the bug with loosing event handlers
  • Support for Interactive authentication via ClientContext.with_interactive method introduced
  • #713: support for oauth2 device code auth introduced

Example: demonstrates how to interactively authenticate via ClientContext client

tenant = "contoso.onmicrosoft.com"

ctx = ClientContext(site_url).with_interactive(tenant, client_id)
me = ctx.web.current_user.get().execute_query()
print(me.login_name)

Don't miss a new Office365-REST-Python-Client release

NewReleases is sending notifications on new releases.