Skip to content

thiagofa/pysendy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pysendy

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

Installation

pip install pysendy

Usage

from pysendy import Sendy
s = Sendy(base_url='http://your_sendy_url')

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

# unsubscription
s.unsubscribe(email='[email protected]', list_id='the_list_id')

About

Python wrapper for Sendy's API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages