zaf / asterisk-googletts

Asterisk AGI script that uses Google's translate text to speech service.
GNU General Public License v2.0
214 stars 125 forks source link

Add support for a 'server key' #10

Closed shakvaal closed 10 years ago

shakvaal commented 10 years ago

e.g. agi(googletts.agi,"text",[language],[intkey],[speed],[serverkey])

The serverkey, when provided, is then passed into all API requests as a key=<serverkey> parameter, according to official Google guide.

Same goes for zaf/asterisk-googletranslate.

zaf commented 10 years ago

I am aware that google started giving access to speech API but as far as i know only in US based costumers, so currently i don't have access on it to test and develop. As far as google translate agi script is concerned it already supports API keys, but not as arguments in the command line, I don't think this is useful or secure.

zaf commented 10 years ago

Some updates on this: Seem like the way to get access to the speech API is to join chromium-dev group: https://groups.google.com/a/chromium.org/forum/#!forum/chromium-dev (Very funny google...) Joining the group will give you instand access to the speech API. The API looks a bit limited at the moment, it only allows 1.0 requests/second/user and a total of 50 requests/day. So it can only be considered as a testing/developing option. Also it only gives access to speech recognition services so this is more relevant to asterisk-speech-recog than asterisk-googletts

FabMira commented 8 years ago

hey i've joined the group but I've haven't found the way to get de API key, could you be mor specific?