Skip to content

A Node.js client library to work with VoiceBase REST API.

Notifications You must be signed in to change notification settings

jsdream/voicebase-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voicebase-node (v3 API)

A Node.js client library to work with v3 VoiceBase REST API.

Note: This is not the official VoiceBase Node library.

Installation

Install the module via npm

npm install [email protected] --save

Usage inside your app

const VoiceBase = require('voicebase-node');

const api = new VoiceBase({
    bearerToken: 'YOUR_TOKEN_HERE'
});

api.media.get().then((data) => {
    console.log('Response: ', data);
}, (err) => {
    console.log('Error: ', err);
});

For more examples you can check out test folder.

Supported options

Option Default value Description
baseUrl https://apis.voicebase.com API Base URL
apiVersion v3 API Version
bearerToken OAuth Bearer token