Skip to content

Bumbleboss/yandexTranslate_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yandex Translate API

A Java API wrapper for Yandex Translate

  • Check the Terms of Use of API Yandex.Translate service before using this. You can find it here

How to use

For setting the token

YandexAPI api = new YandexAPI("your-token");

Requesting translations

System.out.println(inf.getYandexResponse("Hello there!", YandexLanguage.French)
	.getText().get(0));

Getting Language

System.out.println(api.getTextLanguage("Hello there!").getLang());

Download

Latest version: GitHub releases

Dependencies