Socket
Socket
Sign inDemoInstall

google-contacts

Package Overview
Dependencies
3
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    google-contacts

API wrapper for Google Contacts


Version published
Weekly downloads
40
increased by42.86%
Maintainers
2
Install size
1.42 MB
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 27 Nov 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