Integration between django and the SalesForce ExactTarget REST API
Project description
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
Built Distribution
Hashes for django-exact-target-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9006f7ebce51965b573a606661a065217eb2dc56f73cdf9c101d7fd14a3fe6e |
|
MD5 | 2c32db4804692b8109d102dce8d46402 |
|
BLAKE2b-256 | e21af8fe07be8db2058c551ea9665bad8a846708247cdd0632f347433b63a7e1 |
Hashes for django_exact_target-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdd532b0d5edd4b5432fe75b800e21cb5c6682032fc7251448e998d0dabaa648 |
|
MD5 | aeea95e5ff75681b2713f319ec2d4457 |
|
BLAKE2b-256 | 706101b008b42b81423c8bc4db883e784f6fd0edcf3447fa492da5f91aafc11b |