Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

divoxx/google_geocoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoogleGeocoding

GoogleGeocoding is a small library for performing geocoding using the Google’s HTTP geocoding API.

Usage Example

geo = GoogleGeocoding::Geocoder.new(:app_key => YOUR_API_KEY, :user_agent => YOUR_USER_AGENT)
res = geo.query("Union Square, San Francisco, CA")
res.placemarks # => [#<GoogleGeocoding::Placemark:0x100629598 @country_code="US", @country_name=["USA", "US"], @city="San Francisco", @accurracy=4, @coordinates=[-122.4074374, 37.7879938], @region="CA">]

Copyright © 2010 Rodrigo Kochenburger. See LICENSE for details.

About

Small library for performing geocoding using the Google’s HTTP geocoding API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages