aunetx / text-translator

A rust library to translate text between languages, using selected engine API
https://crates.io/crates/text-translator
MIT License
5 stars 1 forks source link

Yandex 2 #3

Open janosimas opened 4 years ago

janosimas commented 4 years ago

Yandex has deprecated the V1 API and disabled the free tier keys.

aunetx commented 4 years ago

Thanks, I will look into this and change the behavior :)

BTW, do you know if there is any possibility to use Yandex API without any key ? e.g. to translate small texts

It could be great to add the possibility to translate using just this library, without the burden of creating Yandex API key or so

janosimas commented 4 years ago

No, now Yandex requires a paid key. They removed the old api and the free tier.

janosimas commented 4 years ago

https://translate.yandex.com/developers/keys

aunetx commented 4 years ago

Oh OK so I guess I will need to pay in order to just test it... I guess the implementation will be left as it is for the moment, until I have the money (and motivation) to pay for it

janosimas commented 4 years ago

I think that if requested, they would give a free key for some time but they don't have a free tier anymore. In any case, you should think if it's worth the effort.

for now, we should just deprecate the Yandex api.

aunetx commented 4 years ago

Yeah that is what I will do, I guess that they should be OK...

And yes of course I will deprecate it tomorrow if it is possible for me :)