Skip to content

Instantly share code, notes, and snippets.

View sieroshtan's full-sized avatar
:shipit:
What's happening?

Alex Sieroshtan sieroshtan

:shipit:
What's happening?
  • Kharkiv, Ukraine
View GitHub Profile
Battery Life Indicator app doesn't collect any personal information or data.
@sieroshtan
sieroshtan / ibm_speech_to_text.py
Created July 28, 2015 13:46
Simple example using Speech To Text API of IBM's Bluemix platform in python
# https://console.ng.bluemix.net/catalog/speech-to-text/
# pip requests module required
import requests
url = 'https://stream.watsonplatform.net/speech-to-text/api/v1/recognize'
username = '<username>'
password = '<password>'
headers={'Content-Type': 'audio/wav'}