google_translate_tts 0.1.1

Format URLs to retrieve audio from the TTS (text to speech) service for Google Translate
Documentation

Google Translate TTS

This crate formats URLs to retrieve audio from the TTS (text to speech) service for Google Translate.

Caution

The URL format may change at any time. This crate may not work in the future.

Examples

let url = google_translate_tts::url("Hello, World!", "en");
assert_eq!(url, "https://translate.google.com/translate_tts?ie=UTF-8&q=Hello, World!&tl=en&tk=418730.60457&client=webapp");