packages feed

voicebase 0.1.1.1 → 0.1.1.2

raw patch · 3 files changed

+6/−15 lines, 3 files

Files

README.md view
@@ -26,20 +26,12 @@ There is also a main file which shows usage  -## features+## Features  + Post audio file to voicebase + Poll for progress + Get resulting transcript or valid json or an error.  --## Trivia+## Source The source repo can be found here: https://bitbucket.org/daisee/voicebase-### wreq client instead of servant ###--The reason httplib is used rather than servant is because of multipart posting.-It was asserted that servant is incapable of doing that.-This is a requirement for the voicebase api however.-Http client does support this however we need to  write more code as a result of this.-
src/VoicebaseClient.hs view
@@ -83,7 +83,7 @@ transcribeBytes :: BearerToken -> LazyByteFile -> IO(Either Error Value) transcribeBytes bearerToken (LazyByteFile content mimetype) =    transcribe bearerToken defaults (-    [partLBS inputName content & partContentType .~ Just mimetype ]+    [partLBS inputName content & partContentType .~ Just mimetype & partFileName .~ Just ""]   )  -- | Generic transcribe, agnostic of options, will add ssl, 
voicebase.cabal view
@@ -1,11 +1,11 @@--- This file has been generated from package.yaml by hpack version 0.20.0.+-- This file has been generated from package.yaml by hpack version 0.28.2. -- -- see: https://github.com/sol/hpack ----- hash: 8aacb3e1c91d96ff1fdf472ee1db28540c29a0fc30e71068fa9b866403418d01+-- hash: 0bf46ba02ab7110dda3260615d5a5c1276107dfee40f80886e1617603765075b  name:           voicebase-version:        0.1.1.1+version:        0.1.1.2 synopsis:       Upload audio files to voicebase to get a transcription description:    voicebase bindings for <http://voicebase.readthedocs.io/en/v2-beta/> category:       API@@ -17,7 +17,6 @@ license-file:   LICENSE build-type:     Simple cabal-version:  >= 1.10- extra-source-files:     ChangeLog.md     README.md