NPM module that binds to the Deepgram audio search/transcription API.
Install:
npm install --save deepgram
Indexing a file:
import Deepgram from 'node-deepgram';
let deepgram = new Deepgram({
userID: '<user_id>'
});
deepgram.index('http://website.com/audio.mp3').then(contentID => {
// do what you will with contentID
}).catch(err => {
// handle error
});
The wrapper uses Babel. Check the scripts in package.json
.