Skip to content

Instantly share code, notes, and snippets.

View killerapp's full-sized avatar

Vaskin Kissoyan killerapp

View GitHub Profile
@rahulsom
rahulsom / Directions.groovy
Created May 26, 2011 03:55
Demo to use Groovy, Grape, and Google Maps API to go from coast to coast
@groovy.lang.Grapes([
@groovy.lang.Grab('org.codehaus.groovy.modules.http-builder:http-builder:0.5.0-RC2')
])
import groovyx.net.http.*
def http = new HTTPBuilder('https://maps.googleapis.com/maps/api/directions/')
http.get(path: 'json',
query: [