How to get skype status programmatically?

杀马特。学长 韩版系。学妹 提交于 2019-12-10 10:51:23

问题


I want to create a small console application to return current Skype status of the local Skype application if it's running (online / away / do not disturb / invisible / offline) and write history of its changes to the text file.

How can I do this? Where to start?


回答1:


You can use Skype4Py for this:

https://github.com/awahlig/skype4py

It has GET/SET USERSTATUS command

http://dev.skype.com/desktop-api-reference#COMMANDS




回答2:


tl;dr;

The status checking URL is gone, your best bet is the API.

Details

There is an API aimed at web developers integrating call functions on their sites. It seems highly restricted, completely missing status-checking and a lot of other functions from the old API: http://msdn.microsoft.com/en-us/library/office/dn745882.aspx

Microsoft removed support for the old developer API at the end of 2013. A status-checking URL (http://mystatus.skype.com/[username].txt) was in place until early 2019. It is no longer available.

It required the Skype user to actively enable status checking from the web (it seems to be disabled by default). It could be enabled in Preferences -> Privacy by ticking Show my status on the web as of Skype version 6.19. If it was not enabled, the user would be shown as Offline.



来源:https://stackoverflow.com/questions/14739271/how-to-get-skype-status-programmatically

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