1

Google's client JS library for its APIs is : https://code.google.com/p/google-api-javascript-client/wiki/GettingStarted

I was wondering if there was any way I could use this with node.js

(I'm writing a small app that uses the google calendar api. I'm very new to node.js)

2 Answers 2

2

Google has a node.js client library for its APIs: https://github.com/google/google-api-nodejs-client

var googleapis = require('googleapis');
googleapis.discover('calendar', 'v3').execute(function(err, client) {
  // authenticate and make requests here
});
Sign up to request clarification or add additional context in comments.

Comments

1

The js client supports promise. While the node client does not, as wont fix.

For me, it is a big feature difference. With promise, the code can be written in the generators way to avoid the callback hell.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.