0.1.5 • Published 7 years ago

google-contacts v0.1.5

Weekly downloads
134
License
MIT
Repository
github
Last release
7 years ago

Node.js wrapper for the Google Contacts API.

Install

npm install google-contacts

Usage

var GoogleContacts = require('google-contacts').GoogleContacts;
var c = new GoogleContacts({
  token: 'oauth2 token...'
});

c.getContacts(cb, params);

Params:

type (default: 'contacts') alt (default: json) projection email (default: 'default') max-results (default: 2000)

See https://developers.google.com/google-apps/contacts/v3/.

Test

 GOOGLE_TOKEN=sometoken npm run test
 # verbose test
 DEBUG=google-contacts GOOGLE_TOKEN=sometoken npm run test

You can get a test token at https://developers.google.com/oauthplayground/.

0.1.5

7 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

9 years ago

0.0.3

9 years ago

0.0.2

11 years ago

0.0.1

11 years ago