Pidgin node.js client using pidgin dbus api
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
README.md
index.js
package.json

README.md

node-pidgin

Pidgin node.js client using pidgin dbus api

API

See pidgin DBus howto for a reference

Examples

Create status:

var pidgin = require('pidgin').createClient();
pidgin.PurpleSavedstatusNew('Вася Ложкин', 2, function (err, status) {
  console.log('Status created');
  console.log(status);
});

Handle message:

var pidgin = require('pidgin').createClient();
pidgin.on('ReceivedImMsg', function(account, sender, message, conversation, flags) {
   console.log('Message!', message)
});