Skip to main content

Integration between django and the SalesForce ExactTarget REST API

Project description

license kit format downloads

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

1.0.0

  • Update test suite for Django 2.2 and Python 3.8

0.2.0

  • Migrate from Sentry’s old SDK (raven) to their new SDK (sentry-sdk).

  • Add support for Python 3.7.

0.1.2

  • optional errorcode whitelist
    • Exactarget responses with error codes in ET_IGNORED_ERROR_CODES will not throw exceptions

0.1.1

  • support for plaintext errors in responses

0.1.0

  • Initial release.

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

django-exact-target-1.0.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

django_exact_target-1.0.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page