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')
# unsubscription
s.unsubscribe(email='email@to.subscribe', list_id='the_list_id')
```
=======
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')
# unsubscription
s.unsubscribe(email='email@to.subscribe', 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.
Source Distribution
pysendy-0.0.3.tar.gz
(3.2 kB
view details)
File details
Details for the file pysendy-0.0.3.tar.gz
.
File metadata
- Download URL: pysendy-0.0.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3a85c647b204b7150150aacaf199267113eb08163ba9261e646ddb4e5791b31 |
|
MD5 | eb140e6ee0a5fabb0c7a10f944011a15 |
|
BLAKE2b-256 | 7660770bd4ec81802baff140ac042a5eeeb43a9239083b030c52f91518c5d8ec |