Tool to grab gasbuddy.com rates
If available in Hex, the package can be installed
by adding ex_gasbuddy
to your list of dependencies in mix.exs
:
def deps do
[
{:ex_gasbuddy, "~> 0.1.1"}
]
end
iex> zip = "85711"
iex> station_id = "177845"
iex> {_status, data, _headers} = ExGasbuddy.search(zip)
iex> {_status, data, _headers} = ExGasbuddy.fetch(station_id)
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ex_gasbuddy.