@quartz/sendgrid-lib

v1.2.0
Sendgrid library functions to help with Quartz integrations

Sendgrid lib

This is a thin library to help us make consistent API requests to the Sendgrid v3 API.

const SendgridLib = require( '@quartz/sendgrid-lib' );

const lib = new SendgridLib( { apiKey: '...' } );

lib.getContactIdByEmail( '[email protected]' )
    .then( contactId => console.log( `Got contact ID: ${contactId}` ) );
npm i @quartz/sendgrid-lib

Metadata

  • ISC
  • Whatever
  • Unknown
  • released 6/10/2020

Downloads