Skip to content

marcinkaszynski/sendgrid-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sendgrid-tools

WARNING: these are for testing and development ONLY. Do NOT use them for production. Set up a dedicated subuser to let SendGrid talk to your production server directly.

SendGrid Event API lets you specify only a single webhook for every user or subuser. Scripts in this repo make it possible to use a single URL (a single SG user) for multiple deployments.

Requirements:

  • Python (tested on 2.7, might work on lower versions)
  • Twisted

Reposter

This script acts as a splitter: it publishes an HTTP server that will accept POST requests from SendGrid Event API and reposts them based on the value of event['unique_args']['deployment']. Copy sample_settings.py to settings.py, customize, start reposter.py.

About

Tools for testing SendGrid Event API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages