Skip to content

Instantly share code, notes, and snippets.

@clarkbw
Created December 16, 2014 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clarkbw/f35a40e00e76978c7d13 to your computer and use it in GitHub Desktop.
Save clarkbw/f35a40e00e76978c7d13 to your computer and use it in GitHub Desktop.
quick start at the loopback-connector-google-apis module
var googleapis = loopback.createDataSource({
connector: require("loopback-connector-rest"),
strictSSL: false,
debug: false,
defaults: {
"headers": {
"accept": "application/json",
"content-type": "application/json"
}
},
operations: [
require('./google/geocode'),
require('./google/timezone')
]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment