News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

php|architect:
Finding Exactly Where You Are
November 11, 2011 @ 12:05:40

On the php|architect site today Chris Tankersley has a new tutorial about geocoding, Finding Exactly Where You Are - a guide to integrating the Yahoo! Placefinder service into your application.

Yahoo! PlaceFinder is a REST web service that will turn an address into the latitudinal and longitudinal coordinates in XML, JSON, or serialized PHP objects. It has a few other functions too, like finding the nearest airport, time zone, and even telephone area code. [...] PlaceFinder is a very simple REST service, so cURL is a quick and easy way to access it. There are no authentication tokens to deal with or logon procedures. Just send a GET request, and read the response.

He links you to the service to get an API key and includes a simple class (PlaceFinderAPI) that builds the GET query for you and makes the request via curl. Also included is an example showing how to find a given location (coincidentally, his location choice is the hotel where the php|tek conferences are held).

0 comments voice your opinion now!
geocode yahoo placefinder api tutorial rest webservice


blog comments powered by Disqus

Similar Posts

DevShed: Generating Web Pages in Multiple Languages with a PHP IP-to-Country Mapping Application

Developer.com: PHP 5 OOP - Delegation and Custom Exceptions

Brian Swan's Blog: Accessing Windows Azure Table Data as OData via PHP

Asvin Balloo's Blog: AJAX image cropper with YUI and PHP

Snipe.net: Sending Mail Using PHP and Amazon SES on Centos/AWS Linux


Community Events





Don't see your event here?
Let us know!


framework code podcast language application developer bugfix list threedevsandamaybe api laravel community introduction library release interview project configure series wordpress

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework