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.
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...'
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" })
- Update test suite for Django 3.2
- Update test suite for Django 2.2 and Python 3.8
- Migrate from Sentry's old SDK (raven) to their new SDK (sentry-sdk).
- Add support for Python 3.7.
- optional errorcode whitelist
- Exactarget responses with error codes in ET_IGNORED_ERROR_CODES will not throw exceptions
- support for plaintext errors in responses
- Initial release.