google-contacts-api

1.0.3 • Public • Published

Node.js wrapper for the Google Contacts API.

install

npm install google-contacts-api

usage

var GoogleContacts = require('google-contacts-api');
var contacts = new GoogleContacts({ token : req.token });
contacts.getContacts(function(err, contacts) {
    // ...
});

test

To test this module, $GOOGLE_API_TOKEN must be set.

$ export GOOGLE_API_TOKEN="ya29.WDVMYoReyJOKac3AFWMDg6lfMv8jyilWpjtQBqL99IKuiWTInpEqZFDi"
$ npm test

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i google-contacts-api

    Weekly Downloads

    42

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • weisjohn