Saturday, May 23, 2015

Translation JSON APIs


While building my web-app for adding and learning new words vocEverywhere I've decided to integrate some freely available translator API so that in most case you won't need to use separate translator (in browser tab or as an app) first and the copy-paste the results to vocEverywhere.

Doing a bit of googling I came across quite a big list with variety of translation APIs available -
http://www.programmableweb.com/news/63-translation-apis-bing-google-translate-and-google-ajax-language/2013/01/15




Some API's, such as Google Translator API have payed access from the beginning. Others are free if you utilize below some limit or requests:

There are also related services and integrations available:


So I choose Yandex Translate API, which has one basic method I needed-  translate(params)

https://translate.yandex.net/api/v1.5/tr.json/translate?key=APIkey&lang=en-ru&text=To+be,+or+not+to+be