Translate API Yandex
Translator
:
- отправляем headers;
- получаем JSON;
- парсим JSON.
YandexResponse
- соответствует получаемому JSON объекту и парсит егоTranslation
- размещаем ключи "text" и "detectedLanguageCode"
Translate API Yandex
Translator
:YandexResponse
- соответствует получаемому JSON объекту и парсит егоTranslation
- размещаем ключи "text" и "detectedLanguageCode"