Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.05 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.05 KB

what3words Elixir wrapper

Use the what3words API in your Elixir app (see the API documentation). 🚀

Hey, version 2.0 is out! 🎶 Have a look at the hexdocs to see what's changed!

Installation

Pretty straightforward! Add the dependency to your mix.exs:

  def deps do
    [{:what3words, "~> 2.0.0"}]
  end

add :what3words to the applications to be started:

  def application do
    [applications: [:logger, :what3words]]
  end

and add your API key to your config.exs (get one here):

config :what3words, key: "mykey"

You should be good to go! 👏🏻

Usage

Hexdocs to the rescue! 👋🏻

Contributing

  • Fork this repo
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

License

See LICENSE