Gasrate

Fetch gas rates from gasprices.aaa.com

Build Status

Inline docs

Installation

If available in Hex, the package can be installed by adding gasrate to your list of dependencies in mix.exs:

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

Usage

iex>  Gasrate.fetch_national_avg()

iex>  Gasrate.fetch_avg_rates("AZ")

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/gasrate.