homepage: ''
changelog-type: markdown
hash: 04cbfcb9e2f1148699bfd0fb6ebf414f934fa9d060f1848ee04850162acc8b36
test-bench-deps:
  base: ! '>=4.7 && <5'
  voicebase: -any
maintainer: jappie.klooster@daisee.com
synopsis: Upload audio files to voicebase to get a transcription
changelog: ! '# Changelog for voicebase


  ## Unreleased changes

'
basic-deps:
  http-client: -any
  bytestring: -any
  base: ! '>=4.7 && <5'
  text: -any
  voicebase: -any
  wreq: -any
  lens: -any
  mime-types: -any
  json-autotype: -any
  options: -any
  HsOpenSSL: -any
  aeson: -any
  http-client-openssl: -any
all-versions:
- '0.1.1.0'
author: Jappie Klooster
latest: '0.1.1.0'
description-type: markdown
description: ! "# Haskell bindings for voice base api\n\nhttp://voicebase.readthedocs.io/en/v2-beta/\n\n##
  Usage\n\n```haskell\n    import VoicebaseClient\n    import Json.TranscriptTypes\n\n
  \   main = do\n      result <- transcribe \"your bearer token\" \"./audio.mp3\"\n
  \     -- get validated response or error\n      case result of\n        Left err
  -> print $ err\n        Right val -> putStrLn val\n\n      -- get a parsed structure\n
  \     parsed <- transcribeParse \"your bearer token\" \"./audio.mp3\"\n      case
  parsed of \n        Left err -> print $ err\n        Right val -> print $ latestTranscriptsWordsTranscripts
  . transcriptsLatestTranscripts . mediaTranscripts . topLevelMedia val\n\n```\n\nThere
  is also a main file which shows usage\n\n\n## features\n\n+ Post audio file to voicebase\n+
  Poll for progress\n+ Get resulting transcript or valid json or an error.\n\n## Trivia\n###
  wreq client instead of servant ###\n\nThe reason httplib is used rather than servant
  is because of multipart posting.\nIt was asserted that servant is incapable of doing
  that.\nThis is a requirement for the voicebase api however.\nHttp client does support
  this however we need to  write more code as a result of this.\n\n"
license-name: BSD3

Update from Hackage at 2018-05-03T07:42:45Z
Update from Hackage at 2018-05-03T07:42:45Z
