lib/main.js
function(apiKey) {
  return function(path, data, done) {
    var url = apiBase + path + '?' + querystring.stringify(_.extend({ 'key': apiKey }, data));
    request.get(url, globalResponseHandler({ url: url }, done));
  };
}
function(apiKey) {
  return function(path, data, done) {
    var url = apiBase + path + '?' + querystring.stringify(_.extend({ 'key': apiKey }, data));
    request.get(url, globalResponseHandler({ url: url }, done));
  };
}
function ( apiKey ) { return function ( path , data , done ) { var url = apiBase + path + '?' + querystring . stringify ( _ . extend ( { 'key' : apiKey } , data ) ) ; request . get ( url , globalResponseHandler ( { url : url } , done ) ) ; } ; }
Closure that returns a function for making a GET request to Google with an apiKey
Closure that returns a function for making a GET request to Google with an apiKey