Skip to content Skip to sidebar Skip to footer

Get Skype For Business Presence Status Programmatically

I need to read the current presence status from Skype for Business (16.5.185) on OSX Sierra. Is there some way to read this locally on my laptop with any programming language, like

Solution 1:

You might be able to use UCWA and then do something like (more infos here):

HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 852
Date: Thu, 18 Jan 2013 00:04:19 GMT
Content-Type: application/json; charset=utf-8
Server: Microsoft-IIS/7.5
Cache-Control: no-cache
X-AspNet-Version: 4.0.30319
X-MS-Server-Fqdn: W15-LYNC-SE1.contoso.com
X-Powered-By: ASP.NET

{
"availability":"Offline",
"deviceType":"Unknown",
"lastActive":"\/Date(1358827096000)\/",
"_links":{
"self":{"href":"/ucwa/oauth/v1/applications/101/people/sarad@contoso.com/presence"}
},
"rel":"contactPresence"
}

That should be possible via python.

If UCWA will not work for you you need to involve the Skype for Business client API (more infos here).

P.S. Keep noted that an Administrator can remove the LastActive attribute (so the time how long a user is e.g. away isn´t calculated) as explained here.


Post a Comment for "Get Skype For Business Presence Status Programmatically"