Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@quartz/sendgrid-lib

1.2.0 • Public • Published

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( 'annika@example.com' )
    .then( contactId => console.log( `Got contact ID: ${contactId}` ) );

Keywords

none

Install

npm i @quartz/sendgrid-lib

DownloadsWeekly Downloads

2

Version

1.2.0

License

ISC

Unpacked Size

22.8 kB

Total Files

7

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar