0.2.0 • Published 9 years ago
google-contacts-oauth v0.2.0
google-contacts-oauth

Get contacts from Google with OAuth tokens
Install
$ npm install google-contacts-oauthUsage
var googleContacts = require('google-contacts-oauth');
var opts = {
token: 'google oauth token'
};
googleContacts(opts, function(err, data){
console.log(data);
});
//=>[{email: 'me@slacy.me', name: 'Steve Lacy'}, ... ]Options
token
OAuth token received from Google's OAuth API.
type: 'String'
default: null
required: truemax-results:
Max results returned
type: 'String'
default: '500'Lower level API
type
type: 'String'
default: 'contacts'projection
type: 'String'
default: 'full'LICENSE
Copyright (c) 2015 Steve Lacy me@slacy.me slacy.me