3.2.8 • Published 5 years ago

voiceboxer-api-client v3.2.8

Weekly downloads
37
License
MIT
Repository
github
Last release
5 years ago

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

5 years ago

3.2.7

5 years ago

3.2.6

5 years ago

3.2.5

5 years ago

3.2.4

5 years ago

3.2.3

5 years ago

3.2.2

5 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.1.0

8 years ago

3.0.11

8 years ago

3.0.9

9 years ago

3.0.8

9 years ago

3.0.7

9 years ago

3.0.6

9 years ago

3.0.5

10 years ago

3.0.4

10 years ago

3.0.3

10 years ago

3.0.2

10 years ago

3.0.1

10 years ago

3.0.0

10 years ago

2.0.1

10 years ago

2.0.0-rc.1

10 years ago

2.0.0-rc.0

10 years ago

2.0.0

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago