Author Topic: Free address lookup API based on postcode?  (Read 1836 times)

0 Members and 2 Guests are viewing this topic.

Offline GetPutDeleteTopic starter

  • Enthusiast
  • Posts: 70
  • Gender: Male
  • Likes being RESTful
    • View Profile
    • My YouTube Tutorials
Free address lookup API based on postcode?
« on: April 02, 2010, 11:02:15 AM »
Questions in the title really, has anyone heard of one?
My YouTube PHP Tutorials @ http://www.youtube.com/user/awesomePHP
My Webby @ http://awesomephp.wordpress.com/

Check it out...

Offline oni-kun

  • Addict
  • Posts: 1,964
  • Gender: Male
  • When you're down, Logic can be a cure.
    • View Profile
    • oni-kun.com
Re: Free address lookup API based on postcode?
« Reply #1 on: April 16, 2010, 01:52:30 AM »
Questions in the title really, has anyone heard of one?

There are many free geolocation services out there, One notably maxmind's services, You can filter the database yourself or use said software to get the lookup.
PHP Documentation (Examples and Usage) || Posting code? [php] Code Here [/php]. (good ref: Truth Tables )
//If you wish a program to have inf args. $params is an array of them.
function($args) {
  if (
is_scalar($args)) {$params func_get_args();}
}

Offline muzzs

  • Irregular
  • Posts: 8
    • View Profile
    • Murray Picton
Re: Free address lookup API based on postcode?
« Reply #2 on: December 13, 2010, 05:59:48 PM »
Use the Google Maps API.  I recently posted a blog post on exactly this at http://www.murraypicton.com/2010/12/free-uk-postcode-lookup-using-the-google-maps-api/

Hope it helps!
If you like this post check my blog at http://www.murraypicton.com