Skip to content
/ skyweb Public
forked from ShyykoSerhiy/skyweb

Unofficial Skype API for nodejs via 'Skype (HTTP)' protocol.

License

Notifications You must be signed in to change notification settings

pvoytko/skyweb

 
 

Repository files navigation

Skyweb

Unofficial Skype API for nodejs via 'Skype (HTTP)' protocol.

If you want to create a bot, take a look at https://github.com/Microsoft/BotBuilder first.👌

##Running example As username and password you should use your Skype account(There is no support for Microsoft account for now).

git clone https://github.com/ShyykoSerhiy/skyweb.git
cd skyweb
npm install
cd dist/demo
node demo.js username password

After 'Skyweb is initialized now' appears in console any message you receive in your Skype will be automatically replied.

##Usage ###Initializing and login

Skyweb = require('skyweb');
var skyweb = new Skyweb();
skyweb.login(username, password).then(function (skypeAccount) {
    console.log('Skyweb is initialized now');
});

###Getting contacts info

var skyweb = new Skyweb();
skyweb.login(username, password).then((skypeAccount) => {    
    console.log('Your contacts : ' + JSON.stringify(skyweb.contactsService.contacts, null, 2));
});

###Setting status

var skyweb = new Skyweb();
skyweb.login(username, password).then((skypeAccount) => {
    skyweb.setStatus('Hidden'); //Now everybody thinks I'm sleeping
});

Currently supported values are : "Hidden" | "Online" | "Away" | "Busy"

##What's not working and probably never will.

##Disclaimer This project relies on SkypeWeb Skype implementation. If Microsoft Corporation decides to remove Skype implementation (or change it in any) skyweb might not be in working state. Therefore it's not recommended to use it in any critical part of production code. In fact it's not recommended to use it in production at all.

MIT License.

About

Unofficial Skype API for nodejs via 'Skype (HTTP)' protocol.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%