Socket
Socket
Sign inDemoInstall

google-contacts-v3

Package Overview
Dependencies
2
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    google-contacts-v3

API wrapper for Google Contacts


Version published
Weekly downloads
1
Maintainers
1
Install size
947 kB
Created
Weekly downloads
 

Readme

Source

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/.

Keywords

FAQs

Last updated on 22 Feb 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc