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?
You can use Skype4Py for this:
https://github.com/awahlig/skype4py
It has GET/SET USERSTATUS command
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