Light Weight Google API Client
npm install gapi-lite --save
const GoogleAPI = require('gapi-lite'); const scopes = [ 'https://www.googleapis.com/auth/bigquery', 'https://www.googleapis.com/auth/bigquery.insertdata', ]; const api = new GoogleAPI('./google-auth.json', scopes); api.get('google-api-url') .then(doSomeThingWithJSOnData) .catch(handleError) api.post('google-api-url', bodyJSON) .then(doSomeThingWithJSOnData) .catch(handleError)