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

Read key from env #8

Open janosimas opened 4 years ago

janosimas commented 4 years ago

I created a sample test reading the API key from the the environment variable. In github this should be enough. For local tests, you can create a .env file and set the variables there.

relates to #7

janosimas commented 4 years ago

@aunetx I'll leave this here for now, I couldn't find any issue.