README.md

# Gasrate

** Fetch gas rates from gasprices.aaa.com**

[![Build Status](https://circleci.com/gh/mithereal/ex_gasrate.svg?style=svg)](https://github.com/mithereal/ex_gasrate)

[![Inline docs](http://inch-ci.org/github/mithereal/ex_gasrate.svg)](http://inch-ci.org/github/mithereal/ex_gasrate)


## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `gasrate` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:gasrate, "~> 0.2.1"}
  ]
end
```

## Usage

```elixir
iex>  Gasrate.fetch_national_avg()

iex>  Gasrate.fetch_avg_rates("AZ")
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/gasrate](https://hexdocs.pm/gasrate).