0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
GoogleGeocoding is a small library for performing geocoding using the Google's HTTP geocoding API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.2.9
>= 0.5.3

Runtime

>= 1.2.0
>= 0.4.5
 Project Readme

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.