Nothing like bumping an ancient thread but has anyone written anything to
query the NZPost site? Curl or anything simila?

I gather they're considering building an API but nobody has returned my
calls so I have no idea if it's imminent (so hang fire) or shelved (so
build something).

thanks

Sarah




*Sarah King*
Tel: 09 815 8642 | Mobile: 0273 711 298
http://www.itamer.com
http://www.roommatecabins.co.nz
[image: Twitter] <http://www.twitter.com/itamer> [image:
LinkedIn]<http://nz.linkedin.com/in/sarahking>
Contact me: [image: Google Talk] rainchx [image: Skype] sarah.king




On Fri, Jan 18, 2008 at 6:11 PM, Chris Burgess <[email protected]>wrote:

> NZ Post's Postcode finder could do with a hand - eg a search for "Seaview
> Road, Piha" produces a postcode of 0200 (that would be *Paihia*, Bay of
> Islands). The same search details work on all the overseas mapping sites
> I've tried.
>
> Searches on NZ Post with 'Town/City' set to "Waitakere", "Henderson",
> "Auckland" all produce no results. The correct answer is (obviously) New
> Lynn<http://maps.google.co.nz/maps?f=q&hl=en&geocode=&q=piha+to+new+lynn&sll=-41.244772,172.617188&sspn=17.599324,39.375&ie=UTF8&z=12&om=0>
> .
>
> If you're going to set about screenscraping NZ Post's world view, be
> prepared for it to produce some unexpected results when people enter an
> address they think they live at. Cross-referencing lookups with mapping API
> might help to highlight some of their more outlandish claims.
>
> Google Maps does return postal codes with the address results, so it might
> be worth comparing.
>
> On 18/01/2008, at 5:39 PM, Olwen Williams wrote:
>
> cURL + screen scraping
>
>
> Be the only reasonable way I’d say.
>
>
>

-- 
-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
--- 
You received this message because you are subscribed to the Google Groups "NZ 
PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to