Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Python Interface for the Sendy API

Project description

sendypy nlshield

Info:Simple module to interface with the Sendy API (
Author:Peter Sanchez ( - (


  • It was written for Python 2.7+
  • Depends on the requests module


  • Version 1.3b adds the new “title” variable to the create_campaign API call. It effects the default ordering of variables in the call. If you’re upgrading from a previous version please ensure that you account for the new ordering of variables. This new variable was added in Sendy v2.1.2.6



pip install sendypy

Basic Manual Install:

$ python build
$ sudo python install

Alternative Install (Manually):

Place sendy directory in your Python path. Either in your Python installs site-packages directory or set your $PYTHONPATH environment variable to include a directory where the impersonate directory lives.


All the variables and response values are described in the Sendy API docs

Usage is simple

from sendy.api import SendyAPI
api = SendyAPI(host='', api_key='YOUR_API_KEY')

You don’t need to set the api_key variable if you’re using the subscribe or unsubscribe methods. You can also provide the optional “debug” variable (defaults to False). This will print debug into to stdout when sending a request to your Sendy install.


api.subscribe('list_id_here', '', 'optional first name', custom_field_1='value', custom_field_2='value', ...)


api.unsubscribe('list_id_here', '')


api.delete('list_id_here', '')

Subscription Status

api.subscription_status('list_id_here', '')

Subscriber Count


Create Campaign

    from_name='Your Name',
    from_email='Your Sender Email',
    reply_to='Your Reply-to Email',
    title='Your Email Title',
    subject='Your Email Subject',
    plain_text='Plain Text Email Body',
    html_text='HTML Email Body',
    brand_id='your brand id',
    query_string='Your query string',
    send_campaign=0, #default's to 0, use 1 to send email right away

Commercial Support

This software, and lots of other software like it, has been built in support of many of Netlandish’s own projects, and the projects of our clients. We would love to help you on your next project so get in touch by dropping us a note at

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
sendypy-0.1.4b0.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None Aug 26, 2017

Supported by

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