Skip to main content
========
Interact
========

Responsys Interact
==================
**Disclaimer:** *This code is neither officially supported nor endorsed by Responsys.*

Module for simplified usage of the Responsys Interact API.

This Python package was created to fill the need for a simplified Python
interface to the Responsys Interact web services for our latest version
of the software.

SOAP Web Services can be a bit tricky to deal with, especially for
Responsys Interact if the developer does not have experience with terms
that are specific to Responsys and/or marketing. This package is geared
to help an experienced developer get the ball rolling with minimal
knowledge of the Responsys Interact API and UI.

The Interact API is limited in comparison to the features offered through
the web UI, but offers everything you would need to create a website that
integrates with services offered by Responsys. There is no way to
dynamically create an email campaign through code, but you will be able to
launch them dynamically using this API.

Example use case::

#!/usr/bin/env python
from interact import Interact6
api = Interact6()
api.connect(username='user', password='pass', pod=5)
api.merge_into_list('folder/listname', [{
'EMAIL_ADDRESS_': ...,
'CUSTOMER_ID_': ...,
}, { ... }, ...])
api.trigger_campaign('folder/campaign_name', 'folder/list_name', [{
'EMAIL_ADDRESS_': ...,
'OPTIONAL_DATA1': ...,
'OPTIONAL_DATA2': ...,
}, ... ])
api.disconnect()

It's also possible to create a file at ~/.interact/creds.py with saved credentials.

The format of the credentials file::
credentials = {
'5': {
'username': 'apiuser',
'password': 'pass123',
},
}

Use '5' if your endpoint is ws5.*, 2 for ws2.*

Then you connect simply with::

#!/usr/bin/env python
from interact import Interact6
api = Interact6()
api.connect(pod=5)

If a file in ~/.interact/rc.py exists, it will execfile that when
creating an instance of Interact6 unless kward exec_rc is set to False.
This allows you to create simple campaign or program configs so that you
do not need to hardcode paths to Interact objects.

Download files

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

Source Distribution

pyinteract-0.7.6.tar.gz (9.3 kB view details)

Uploaded Source

File details

Details for the file pyinteract-0.7.6.tar.gz.

File metadata

  • Download URL: pyinteract-0.7.6.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyinteract-0.7.6.tar.gz
Algorithm Hash digest
SHA256 2bcb8c8c61a4244ea8c4004d187e520287f41cff5fca0eab2dc29d7431bf3b95
MD5 7ed5a1748ced2a23578506ead55e134d
BLAKE2b-256 ad6508da9b6ab99e36a34c54e46b5ee75f9c21b18c92a49f422a04f5c924d77d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7.8

1 file

0.7.7

1 file

This release

0.7.6 This release

1 file

0.7.5

1 file

0.7.4

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page