Dead simple google picker library.
var pick = require('google-picker')({
clientId: <your client id>,
apiKey: <your developer api key>
});
pick({views: ['DocsView()']}, function(err, files) {
if(err) throw err;
// files
});
clientId
your application's client idapiKey
your developer keyscope
authorization scope. defaults to 'https://www.googleapis.com/auth/drive' (full access to google drive)origin
the origin of your application. Defaults to window.location.protocol + '//' + window.location.hostlocale
defaults to 'en' (english)views
refer to https://developers.google.com/picker/docs/referencefeatures
refer to https://developers.google.com/picker/docs/reference