This is an archived page. The information on this archived page is no longer current.
LiveAddress API Samples
Learn by example
Sometimes the best way to learn a new API is to hit the ground running. Or, as Tony Stark says, "Sometimes you have to run before you can walk." In accordance, here are some resources to help you fly (like Ironman does).
Note Sample code is presented as-is and we are unable to help with running or implementing it. We highly recommend developers write their own production code and only use examples as a starting point.
View and download sample code
In addition to all the LiveAddress code on GitHub, here's more specifically for websites:
- LiveAddress API jQuery Plugin — We built a powerful and easy jQuery plugin for use on your website forms. Just copy, paste, and ... that's it! Usually, no configuration necessary.
liveaddress .js —
geocode an address by doing:
and click the "Run" button at the top. (Make sure
fiddle.jshell.netis the associated authorized domain name.)
Once you've tinkered with the examples, you may want to read up on how the API actually works.