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

Changelog

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

Uploaded Source

Built Distribution

django_exact_target-0.1.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django-exact-target-0.1.1.tar.gz
Algorithm Hash digest
SHA256 861f3900af54947cf90bb4ca76db23c4ea1678d69ecb65ea2161b44c6dd5c0bc
MD5 41cadc734371e7d303f3e30a0c582183
BLAKE2b-256 eaa1015efabc006c546cf806ca3ecf1316be8fc810d58dab0a43a5f579caf87c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_exact_target-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bfbfca1fa8f5017974ac5b405be818a682006e0acb9bb353f3b5dbac613340bc
MD5 d1381e0094b0959b4011c3f94fbf67dc
BLAKE2b-256 510b4066c494c1cf7982ab2d4f336ca09f15a5fdc0b116a3bfd1ed932de4d138

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