Python SDK
Shape follows resend-python: pigeon.Emails.send({...}).
github.com/pigeonfs/pigeon-python
All SDK libraries
API reference
Install
shell
pip install git+https://github.com/pigeonfs/pigeon-python.git
Send an email
Python
import pigeon pigeon.api_key = "pg_your_key" email = pigeon.Emails.send({ "from": "Ada <ada@yourdomain.com>", "to": ["person@example.com"], "subject": "Hello", "html": "<strong>hello, world!</strong>", }) print(email["id"])