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

  • Initial release.

0.1.1

  • support for plaintext errors in responses

0.1.2

  • optional errorcode whitelist

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

Uploaded Source

Built Distribution

django_exact_target-0.1.2-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-exact-target-0.1.2.tar.gz
Algorithm Hash digest
SHA256 45354abb9093a61bb3b8fac10c66f265ff1b276b358e860e8848c7a7eaf11342
MD5 61c3aa8e0b1af9bbaeddc02ae29c42b4
BLAKE2b-256 ba7e0c2248ed16e6e31fa0de56feab9d389a7c3ab8427a8a477308ba48c67043

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_exact_target-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e7e18bb8fd28721711ff37f81b5c6977e304267f444fe9f3c2fdec42cd6dc69
MD5 26520f7fe8b3babbda05987bf61dc90d
BLAKE2b-256 b713ffbda3a64c1a734f08a093a7144ee3431db56ac86a921f95866c651f35cd

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