Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Sendy API v1.1.7 for Python.

Project description

Pysendy
=======

Pysendy is a Python wrapper for Sendy's API.
Read the LICENSE file before use it.

Installation
------------
pip install pysendy

Usage
-----
```python
from pysendy import Sendy
s = Sendy(base_url='http://your_sendy_url')

# subscription (name is optional)
s.subscribe(name='John Doe', email='email@to.subscribe', list_id='the_list_id',
custom_field1='custom_value1', custom_value2='custom_value2')

# unsubscription
s.unsubscribe(email='email@to.unsubscribe', list_id='the_list_id')
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pysendy, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size pysendy-0.0.5.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page