3.2.8 • Published 3 years ago
voiceboxer-api-client v3.2.8
voiceboxer-api-client
An easy-to-use client for the https://github.com/voiceboxer/voiceboxer-api wrapper.
npm install voiceboxer-api-client
Usage
Initiate the module with a config for the api endpoint and client_id, the air endpoint and optional cookies-js defaults for storing a session cookie.
var config = {
api: {
client_id: 'client_id',
url: 'url'
},
air: {
url: 'url'
},
cookie: {
// cookies-js defaults
}
};
var voiceboxer = require('voiceboxer-api-client').init(config);
voiceboxer.login({ email: 'your@email.com', password: 'password' }, function(err) {
console.log(err);
});
voiceboxer.on('login', function(user) {
console.log(user);
});
voiceboxer.loginWithToken(token, function() {
console.log('logged');
});
3.2.8
3 years ago
3.2.7
3 years ago
3.2.6
3 years ago
3.2.5
4 years ago
3.2.4
4 years ago
3.2.3
4 years ago
3.2.2
4 years ago
3.2.1
4 years ago
3.2.0
4 years ago
3.1.0
6 years ago
3.0.11
6 years ago
3.0.9
7 years ago
3.0.8
7 years ago
3.0.7
7 years ago
3.0.6
8 years ago
3.0.5
8 years ago
3.0.4
8 years ago
3.0.3
8 years ago
3.0.2
8 years ago
3.0.1
8 years ago
3.0.0
8 years ago
2.0.1
8 years ago
2.0.0-rc.1
8 years ago
2.0.0-rc.0
8 years ago
2.0.0
8 years ago
1.2.0
8 years ago
1.1.0
8 years ago
1.0.0
8 years ago