= yahoo-geocode
Rubyforge Project:
http://rubyforge.org/projects/rctools/
Documentation:
http://dev.robotcoop.com/Libraries/yahoo-geocode/
== About
yahoo-geocode implements version 1 of Yahoo's Maps Web Services Geocoding API.
== Installing yahoo-geocode
Just install the gem:
$ sudo gem install yahoo-geocode
== Using yahoo-geocode
First you'll need a Yahoo Application ID. You can register for one here:
http://api.search.yahoo.com/webservices/register_application
Then you create a Yahoo::Geocode object and start locating addresses:
require 'rubygems'
require 'yahoo/geocode'
yg = Yahoo::Geocode.new application_id
locations = yg.locate '701 First Street, Sunnyvale, CA'
p location.first.coordinates
Rubyforge Project:
http://rubyforge.org/projects/rctools/
Documentation:
http://dev.robotcoop.com/Libraries/yahoo-geocode/
== About
yahoo-geocode implements version 1 of Yahoo's Maps Web Services Geocoding API.
== Installing yahoo-geocode
Just install the gem:
$ sudo gem install yahoo-geocode
== Using yahoo-geocode
First you'll need a Yahoo Application ID. You can register for one here:
http://api.search.yahoo.com/webservices/register_application
Then you create a Yahoo::Geocode object and start locating addresses:
require 'rubygems'
require 'yahoo/geocode'
yg = Yahoo::Geocode.new application_id
locations = yg.locate '701 First Street, Sunnyvale, CA'
p location.first.coordinates