The package can be installed by adding :lob_elixir to your list of dependencies in mix.exs:
def deps do
[
{:lob_elixir, "~> 1.5.0"}
]
end
Learn more at the lob-elixir repository on GitHub.
Don’t see your favorite language?
Let us know which language you’d like us to support next. Drop us an email.
Libraries
Address Elements
Address Elements works by targeting the input elements of your address form and using their values with Lob's verification and autocomplete functionality.
Registration
Create an account at Lob.com to obtain a Live Public API Key. The key is available in the Lob settings panel and uses the format, live_pub_*.
Usage
Embed the Lob Address Elements script immediately before the closing tag in the HTML containing your address form. The script will autodetect your form and its inputs.
This is a very lightweight component that uses the Lob Autocomplete API in order to simplify the process of adding in a search autocomplete bar or form. Check out the Autocomplete API for more configuration options in Lob documentation.