Skip to content

Instantly share code, notes, and snippets.

@onewland
Created June 14, 2010 20:26
Show Gist options
  • Save onewland/438248 to your computer and use it in GitHub Desktop.
Save onewland/438248 to your computer and use it in GitHub Desktop.
require 'rubygems'
require File.join( File.dirname(__FILE__), '..', 'lib', 'carmen_sandiego.rb' )
detective = CarmenSandiego::Detective.new('GeoAPI API Key')
results = detective.search do |q|
q.radius 500
q.radius_unit :m
q.lat 27.93547
q.lng -82.50429
end
puts results.inspect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment