This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

ExactTarget SOAP Api made simple

Project Description
OVERVIEW
========

Interface with the [ExactTarget SOAP Api](http://help.exacttarget.com/en/technical_library/web_service_guide/working_with_soap_web_service_api/) for Django.
Uses the [oauth authentication](https://code.exacttarget.com/devcenter/getting-started/hubexchange-apps/oauth-and-soap-api).

REQUIREMENTS
============

Python 2.7+
Django 1.3+

INSTALLATION
============

1. Install the package

```shell
pip install django-exacttarget
```

2. Add the module to your INSTALLED_APPS in you settings.py

```python
INSTALLED_APPS = (
...
'exacttarget',
...
)
```

3. Set the wsdl url in your settings.py

```python
EXACTTARGET_SOAP_WSDL_URL = "https://webservice.s6.exacttarget.com/etframework.wsdl"
```
Note: _The url might be different depending on the type of your application._

USAGE
=====

#The client

```python
from exacttarget.client import PartnerAPI
api = PartnerAPI(internal_oauth_token)
print api.get_system_status()
```

Note: _You need to provide the internal\_oauth\_token you got from the [JWT information](https://code.exacttarget.com/devcenter/getting-started/hubexchange-apps).
You can call any of the methods using the python syntax (i.e. ```VersionInfo()``` will be called using ```version_info()```)._

#The types

You can create an object of any type defined in the wsdl as follow:
```python
from exacttarget import client
api = client.PartnerAPI(internal_oauth_token)
# Standard object
list = api.List
# Enum object
list.Type = api.ListTypeEnum.Private
```

EXAMPLES
========

#Create a list

```python
from exacttarget import client

api = client.PartnerAPI(internal_oauth_token)
new_list = api.List
new_list.Description = "My description"
new_list.ListName = "My list name"
new_list.Type = api.ListTypeEnum.Private
new_list.ListClassification = api.ListClassificationEnum.ExactTargetList
co = api.CreateOptions
co.RequestType = api.RequestType.Synchronous
co.QueuePriority = api.Priority.Low

resp = api.create(co, [new_list])

print resp
```
Release History

Release History

This version
History Node

0.0.9-beta

History Node

0.0.8-beta

History Node

0.0.7-beta

History Node

0.0.6-beta

History Node

0.0.5-beta

History Node

0.0.4-beta

History Node

0.0.3-beta

History Node

0.0.2-beta

History Node

0.0.1-beta

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-exacttarget-0.0.9-beta.tar.gz (4.5 kB) Copy SHA256 Checksum SHA256 Source Mar 27, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting