yandex-translate

Yandex.Translate API client

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
yandex-translate
3152.1.35 years ago11 years agoMinified + gzip package size for yandex-translate in KB

Readme

yandex-translate ================ Yandex.Translate API client for node.js Please use API key request form to obtain key. ```js var translate = require('yandex-translate')(key); translate.translate('You can burn my house, steal my car, drink my liquor from an old fruitjar.', { to: 'ru' }, function(err, res) { console.log(res.text); }); translate.detect('Граждане Российской Федерации имеют право собираться мирно без оружия, проводить собрания, митинги и демонстрации, шествия и пикетирование', function(err, res) {
// res.lang -> 'ru'
}); ```
License
MIT. Yandex.Translate terms of service: http://legal.yandex.com/translateapi/
See also