Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Integration between django and the SalesForce ExactTarget REST API

Project Description

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"
})

Resources

Changelog

0.1.0

  • Initial release.

0.1.1

  • support for plaintext errors in responses

0.1.2

  • optional errorcode whitelist

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
django_exact_target-0.1.2-py3-none-any.whl
(7.0 kB) Copy SHA256 Hash SHA256
3.6 Wheel Jan 8, 2018
django-exact-target-0.1.2.tar.gz
(4.3 kB) Copy SHA256 Hash SHA256
Source Jan 8, 2018

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting