How can we use ms office communicator client exposed APIs in python, is that possible?

孤街浪徒 提交于 2020-01-13 05:56:15

问题


I want to use ms office communicator client apis, and i wan to use those in python is it possible to do ?


回答1:


>>> import win32com.client
>>> msg = win32com.client.Dispatch('Communicator.UIAutomation')
>>> msg.InstantMessage('user@domain.com')




回答2:


There is an JSON API to access all office communicator functions via "office communicator web access". You can download a description for that API. But nobody has implemented a module yet. The API is quiet complex.




回答3:


I don't know very well Ms Office communicator but if it exposes a COM interface, you shoudl be able to access it through the Mark Hammond python bindings for COM http://starship.python.net/crew/skippy/

Otherwise, if it exposes a .NET API you should be able to access it with IronPython

I hope it helps



来源:https://stackoverflow.com/questions/2286790/how-can-we-use-ms-office-communicator-client-exposed-apis-in-python-is-that-pos

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!