hubot-yandex-translate

1.0.3 • Public • Published

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 --save

Then 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=$KEY

Command

  • hubot translate <message>
  • hubot traducir <message>
  • hubot traduce <message>
  • hubot tr <message>
  • hubot t <message>
  • hubot translate [from-to] <message>

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i hubot-yandex-translate

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • bevacqua