Skip to content

Instantly share code, notes, and snippets.

View danielrobertson's full-sized avatar
☁️
Working on Cloudflare dashboard experiences

Daniel danielrobertson

☁️
Working on Cloudflare dashboard experiences
View GitHub Profile
@PhilippLgh
PhilippLgh / Bot.js
Created April 18, 2016 13:15
A Telegram Speech-To-Text bot that uses Watson
var Bot = require('node-telegram-bot-api')
var watson = require('watson-developer-cloud');
var request = require('request');
var config = require('./config');
var speech_to_text = watson.speech_to_text({
username: config.watson.username,
password: config.watson.password,
version: 'v1',
url: 'https://stream.watsonplatform.net/speech-to-text/api'