translatte
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -178,3 +178,3 @@ const querystring = require('querystring'); | ||
headers: { | ||
'Authorization': 'Bearer ' + opts.services['yandex_v2']['token'], | ||
'Authorization': 'Api-Key ' + opts.services['yandex_v2']['key'], | ||
'Content-type': 'application/json' | ||
@@ -181,0 +181,0 @@ }, |
{ | ||
"name": "translatte", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "A free and unlimited translate for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -133,3 +133,3 @@ # A free and unlimited translate for NodeJS. | ||
- <a href="https://translate.yandex.ru/developers/keys" target="_blank">Yandex Translate</a>, requires registration. Free of charge 10,000,000 characters per month. | ||
- `{"yandex_v2": {"token": "XXX"}}` | ||
- `{"yandex_v2": {"key": "XXX"}}` | ||
- <a href="https://cloud.yandex.ru/docs/translate/" target="_blank">Yandex Cloud</a>, requires registration and credit card details. $15 for every million characters. | ||
@@ -136,0 +136,0 @@ |
639629