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.4.tar.gz
(3.1 kB
view details)
File details
Details for the file pysendy-0.0.4.tar.gz
.
File metadata
- Download URL: pysendy-0.0.4.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9169da91a0f61d3d175d5647e6b046951a76da24e8079e3af4f6b5b5fc02576a |
|
MD5 | 46385ce53f727ce43aa1f3f0589174ca |
|
BLAKE2b-256 | 9826ae3c5f69b472083977fbb64e731b4b2ff146a5721b686fca4b866957f61a |