GithubHelp home page GithubHelp logo

addynz / address-lookup Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 4.0 173 KB

Address finder for websites to verify New Zealand addresses at the point of capture. Code samples are provided for fast and effective integration. Lightweight open source third party libraries are used for calling Addy’s free address finder API. Visit https://www.addysolutions.com/ for documentation and free address API access.

License: MIT License

CSS 0.90% HTML 22.39% JavaScript 76.71%
address autocomplete address-lookup lookup validation addy addressfinder verification address-verification address-autocomplete nz-postal-address postcode-validation postcode-lookup-service new-zealand address-finder

address-lookup's Introduction

Address lookup and verification made easy

https://www.addysolution.com/

Create a delightful user experience and remove friction from your online forms, save customers time and increase your conversion rates.

Addresses are standardised at the point of capture, validated against official data sources including the New Zealand Postal Address File (PAF) and Land Information New Zealand (LINZ) database.

Avoid the unnecessary costs of failed deliveries, improve shipping efficiency and ensure parcels arrive first time.

Addy Address Autocomplete

Addy's address lookup use intelligent fuzzy matching for searching. This means that if a typo, invalid suburb or partially correct address is entered, customers can still find the right delivery or billing address.

Get Started

Create a free account https://www.addysolutions.com/signup to get an API key.

  1. Include addycomplete.min.css in your page, via the usual tags:
<link rel="stylesheet" href="addy.min.css" />
  1. Include addy.min.js at the bottom of the page, before closing the body tag:
<script src="addy.min.js?nzKey=YOUR-ADDY-KEY&country=nz&callback=initAddy" async defer></script>

Replace YOUR-ADDY-KEY with your own Addy API Key. (for AU country, use 'auKey' instead 'nzKey' and 'country=au')

Define the fields and options that will be called by the initAddy callback function once the script has loaded.

function initAddy() {
    var addyComplete = new AddyComplete(document.getElementById("address1"));
    addyComplete.fields = {
        address1: document.getElementById("address1"),
        address2: document.getElementById("address2"),
        suburb: document.getElementById("suburb"),
        city: document.getElementById("city"),
        postcode: document.getElementById("postcode")
    }
}

Live demo and documentation: https://www.addysolutions.com/services/address-validation-javascript

Prices

Visit the pricing page for more information and to find a plan that works for your business (https://www.addysolutions.com/pricing).

Links

Official Addy site: https://www.addysolutions.com/

NZ Address Finder and Postcode API Documentation: https://www.addysolutions.com/documentation

All Documentation: https://www.addysolutions.com/documentation

Frequently Asked Questions: https://www.addysolutions.com/faqs

License

The Address Checker code is released under the MIT License.

The reqwest library included in the bundle is released under the MIT License https://github.com/LeaVerou/awesomplete.

The Neat Complete library included in the bundle is released under the GNU Affero General Public License https://github.com/AbleTech/neat-complete.

address-lookup's People

Contributors

stenly311 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

address-lookup's Issues

question about key

Hello,
sorry for the dummy question.

Our client registered on your site and sent to us an API key and API secret key. With the link to API Endpoint.

But for our development (their needs), your billing example from this repo just with javascript is enough, Is there any reason why we need to use full API?

Is it a problem that we are on localhost or did they send to us the wrong key?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.