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

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

Uploaded Source

Built Distribution

django_exact_target-0.2.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-exact-target-0.2.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for django-exact-target-0.2.0.tar.gz
Algorithm Hash digest
SHA256 399bc802f980c170e4939f6d92445f927169c0a76b225be2dfbea4e42bac1a71
MD5 50c519feb7a02db36e20dc16862a1832
BLAKE2b-256 2570909ec9c3468885af0a485061d7c7ca76f194046c9436dec983ec3dcc9981

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_exact_target-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8db2134fba106a34f969c9be9310fe102caec22926a8f8e13a4be36677462093
MD5 6ea06e0113d874dbc41a9fec93d5ebc3
BLAKE2b-256 7944d95269d590d7682c093e28fd7cb3427815dcefec86d49d4d20f2b2f3f03a

See more details on using hashes here.

Provenance

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