Ym4r-anonymizer is a project mainly written in Ruby, it's free.
Ym4r is a useful gem that help us get geocode data with less code, but this is a problem when we frequently fetch the geocode data from Google Maps API, it will ban us then ask typing the captcha. In order to git rid of the API request limitation, we can use an anonymize proxy(Tor is great), or generate a lot of API keys for geocoding.
Here this gem Ym4r-Anonymizer will help you fix the API request problem:
:proxy: :host: 127.0.0.1 :port: 8123
:google_api_keys:
require 'rubygems' require 'ym4r/anonymizer'
Ym4r::Anonymizer.config = YAML.load_file(File.expand_path('../ym4r_anonymizer.yml', FILE)) Ym4r::Anonymizer.verbos = true Ym4r::GoogleMaps::Geocoding.get('Chengdu, Sichuan, China') Ym4r::GoogleMaps::Geocoding.get('Beijing, China') Ym4r::GoogleMaps::Geocoding.get('Chongqing, China') Ym4r::Anonymizer.config[:proxy] = nil Ym4r::GoogleMaps::Geocoding.get('Chengdu, Sichuan, China') Ym4r::GoogleMaps::Geocoding.get('Beijing, China') Ym4r::GoogleMaps::Geocoding.get('Chongqing, China')