Skip to content

Instantly share code, notes, and snippets.

@max-mapper
max-mapper / instamapper_to_latitude.rb
Created May 20, 2010 16:52
gets data from instamapper and saves it to your google latitude account
require 'rubygems'
require 'json'
require 'net/http'
require 'redis'
require 'oauth'
@redis = Redis.new
@instamapper_api_key = "YOUR INSTAMAPPER API KEY"
@consumer_key = "GOOGLE OAUTH CONSUMER KEY"
@consumer_secret = "GOOGLE OAUTH CONSUMER SECRET"