Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (8 sloc) 0.299 kb
request = require 'request'
getSpeech = (params, callback) ->
urlString = 'http://tts-api.com/tts.mp3?q='
urlString += params.replace /\s/gi, '+'
urlString += '&return_url=1'
request urlString, (error, respose, body) ->
callback(error, body)
exports.getSpeech = getSpeech
Jump to Line
Something went wrong with that request. Please try again.