skip to navigation
skip to content

django-exact-target 0.1.1

Integration between django and the SalesForce ExactTarget REST API

This library serves as a connector between django and the Exact Target REST API. It will support more of the API in the future, but currently only supports TriggeredSends.

Installation

Install using pip.:

$ pip install django-exact-target

Add your exact target client settings to your Django project’s settings.py file.:

EXACT_TARGET_CLIENT_ID = 'my-client-id...'
EXACT_TARGET_CLIENT_SECRET = 'my-client-secret...'

Usage

Dispatch a TriggeredSend. See also message definition sends.:

from exacttarget.messages import TriggeredSend

sender = TriggeredSend('my-triggered-send-id')
sender.dispatch('foo@example.com', {
    # SubscriberAttributes
    "Region": "West",
    "City": "Indianapolis",
    "State": "IN"
})

Changelog

0.1.0

  • Initial release.
 
File Type Py Version Uploaded on Size
django-exact-target-0.1.1.tar.gz (md5, pgp) Source 2017-09-25 3KB
django_exact_target-0.1.1-py3-none-any.whl (md5, pgp) Python Wheel 3.5 2017-09-25 6KB