# `Forex.Feed.Parser`
[🔗](https://github.com/greven/forex/blob/1.1.2/lib/forex/feed/parser.ex#L1)

This module defines the behaviour of the parser that will be used to parse
the XML response from the European Central Bank (ECB).

# `rate`

```elixir
@type rate() :: %{currency: String.t(), rate: String.t()}
```

# `rate_map`

```elixir
@type rate_map() :: %{rates: [rate()], time: String.t()}
```

# `parse_rates`

```elixir
@callback parse_rates(binary()) :: [rate()]
```

Parse the XML response body from the European Central Bank (ECB).

# `parse_rates`

# `parser_mod`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
