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.1.0

  • Update test suite for Django 3.2

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.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

django_exact_target-1.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file django-exact-target-1.1.0.tar.gz.

File metadata

  • Download URL: django-exact-target-1.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for django-exact-target-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b69fd422c3a7afefed7081c8479bb983b0e568b3359c18b500e961309c49247f
MD5 0cd2ef650243b8d66ec85dacaedaad41
BLAKE2b-256 29fec966a1615ea322b554905d499b6fd5215a14a35c79b8e2bf99ec940b956b

See more details on using hashes here.

File details

Details for the file django_exact_target-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_exact_target-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for django_exact_target-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c58f1d9a2236f19c3f4169eccbb1ca8519f6457a535c1f9d14248c6fbdf0119b
MD5 d072b15c9f508fdf72774466df80b6d7
BLAKE2b-256 a1fdc30b309cfcc7c71cce0af4da043993753188cbca1081baff280feb634762

See more details on using hashes here.

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