TODO: Add description
If available in Hex, the package can be installed as:
- Add
oanda_api
to your list of dependencies inmix.exs
:
```elixir
def deps do
[{:oanda_api, "~> 0.1.0"}]
end
```
- Ensure
oanda_api
is started before your application:
```elixir
def application do
[applications: [:oanda_api]]
end
```
- Add
oanda_api
to your config and define OANDA the base url and token.
```elixir
use Mix.Config
config :oanda_api,
token: "test_token",
base_url: "https://api-fxtrade.oanda.com"
```
=======