A PHP wrapper for AddressFinder API
$finder = new AddressFinder(KEY, SECRET, FORMAT);
$response = $finder->endpoint(URI, OPTIONS);
// Example: Call Address Autocomplete endpoint
$response = $finder->endpoint('/address/autocomplete', [
'q' => '35 Hobson Street',
]);
API specifications for New Zealand addresses:
Interactive search that returns closely matching addresses which are then selected by the user.
Return the full metadata associated with an address selected from the Address Autocomplete API.
Takes an address (potentially containing spelling mistakes and/or other errors) and attempts to match it against a verified address record in the AddressFinder database.
Takes the GPS coordinates (longitude and latitude) and returns the nearest addresses ordered by distance.
Returns all address contained within the supplied bounding box or polygon.
Interactive search that returns closely matching streets, suburbs, cities and/or regions which are then selected by the user.
Return the full metadata associated with a location (street, suburb, city or region selected from the Location Autocomplete API.
Interactive search that returns closely matching points of interest, and their associated addresses.
Return the full metadata associated with a point of interest selected from the Points of Interest Autocomplete API.