https://github.com/jsdream/voicebase-node
A Node.js client library to work with VoiceBase REST API.
https://github.com/jsdream/voicebase-node
api-client api-wrapper nodejs voice-recognition voicebase
Last synced: 21 days ago
JSON representation
A Node.js client library to work with VoiceBase REST API.
- Host: GitHub
- URL: https://github.com/jsdream/voicebase-node
- Owner: jsdream
- Created: 2017-05-16T11:49:12.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-08-25T11:37:29.000Z (almost 7 years ago)
- Last Synced: 2025-01-22T07:19:20.831Z (over 1 year ago)
- Topics: api-client, api-wrapper, nodejs, voice-recognition, voicebase
- Language: JavaScript
- Homepage:
- Size: 70.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# voicebase-node (v3 API)
A Node.js client library to work with v3 [VoiceBase REST API](https://voicebase.readthedocs.io/en/v3/index.html).
**Note:** This is not the official VoiceBase Node library.
Installation
-------------------------------------------------
Install the module via npm
npm install voicebase-node@2.x.x --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