A JSON API for extracting the postcode and location details from a valid New Zealand address.
It's really useful to have programmatic access to postcodes - you can do interesting things with autocompletion or calculating a postcode for a given suburb or region without your users having to fill it in manually.
Actually, I made this for two reasons:
Run free text searches like:
The response is returned as
This is a micro API, so there's not really too much point in versioning. If you want to use
this in an app, and are unsure about potential impact of future changes, keep in mind the single contract
that will be maintained for all future versions of the API: the response will always return a
postcode field in the JSON object. Have no fear.
Future improvements include suburb/street based queries, and adding PO Box and Rural Delivery data.
Written in Python, running on Google App Engine, using the Google Search API.
Questions, comments, feature requests should be directed to firstname.lastname@example.org.
Version 0.0.2. March 26th 2009.