开发者

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

开发者 https://www.devze.com 2022-12-20 07:46 出处:网络
I want to use ms office communicator client apis, and i wan to use those in python is it po开发者_JS百科ssible to do ?

I want to use ms office communicator client apis, and i wan to use those in python is it po开发者_JS百科ssible to do ?


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


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消