Lokalise APIv2 Elixir SDK

Elixir interface for the Lokalise APIv2.

View the Project on GitHub lokalise/elixir-lokalise-api




Customization

The actual HTTP requests are sent using HTTPoison. To customize the request (for example, to provide timeouts or proxy), add :request_options inside your config.exs file:

config :elixir_lokalise_api,
  api_token: {:system, "LOKALISE_API_TOKEN"},
  request_options: [
    timeout: 5000,
    recv_timeout: 5000
  ]

If the request_options is not provided, the default options will be utilized. You can find full list of all the available :options in the HTTPoison docs.