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-AliveContent-Length: 852Date: Thu, 18 Jan 2013 00:04:19 GMTContent-Type: application/json; charset=utf-8Server: Microsoft-IIS/7.5Cache-Control: no-cacheX-AspNet-Version: 4.0.30319X-MS-Server-Fqdn: W15-LYNC-SE1.contoso.comX-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"