DeeplEx

DeeplEx is a package that allows the user to programmatically translate text using DeepL from their Elixir application.

Installation

This package can be installed by adding deepl_ex to your list of dependencies in mix.exs:

def deps do
[
{:deepl_ex, "~> 0.1.0"}
]
end

The docs can be found at https://hexdocs.pm/deepl_ex.

Configuration

After installing the package, you should add some variables to your config.

config :deepl_ex,
api_key: "", # String containing your DeepL api key
tier: :free # Can be :free or :pro