1.0.3 • Published 11 years ago
hubot-yandex-translate v1.0.3
hubot-yandex-translate
Allows Hubot to translate things using the Yandex Translation API
See src/yandex-translate.js for full documentation.
Installation
In hubot project repo, run:
npm install hubot-yandex-translate --saveThen add hubot-yandex-translate to your external-scripts.json:
[
"hubot-yandex-translate"
]Setup
Get a Yandex API key. Add it to your environment.
heroku config:add YANDEX_TRANSLATE_API_KEY=$KEYCommand
hubot translate <message>hubot traducir <message>hubot traduce <message>hubot tr <message>hubot t <message>hubot translate [from-to] <message>
License
MIT