Skip to main content

# Responsys Interact API python client #

A python library providing access to the Responsys Interact API.

## Install ##

Via pypi:

pip install responsys

Via source package:

cd responsys/ pip install .

## Usage ##

The [InteractClient](./responsys/client.py) provides the methods needed to work with the Interact API:

>>> from responsys.client import InteractClient
>>> client = InteractClient(username, password, pod)
>>> client.connect()
>>> client.merge_list_members(interact_object, records, merge_rules)
>>> client.disconnect()

Using the client class as a context manager will automatically connect using the credentials provided, and disconnect upon context exit:

>>> with InteractClient(username, password, pod) as client:
...     client.merge_list_members(interact_object, records, merge_rules)

Since responsys limits the number of active sessions per account, this can help ensure you don’t leave unused connections open.

## Development/Testing ##

Tests can be run via setuptools:

python setup.py nosetests

Installing requirements for development environment can be accomplished via pip:

pip install -r requirements.txt

Testing within a dev environment can be accomplished via `nosetests`.

## Acknowledgements ##

This library was developed while working for the fine folks at [udemy.com](http://www.udemy.com/about).

## Legal ##

This code is neither officially supported nor endorsed by Udemy.com, Oracle, Responsys, or any related entites.

[License](./LICENSE)

Metadata

Release files for responsys 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for responsys 0.2.4
File Size Uploaded
responsys-0.2.4.tar.gz 18.2 kB Details

Release files / responsys-0.2.4.tar.gz

Download URL responsys-0.2.4.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4c5dc8ea924005cd861c11307141fdeb1b3a583a725cf5cf7f2e8a3e2370f53b
BLAKE2b-256 checksum
How to use checksums
559ca163a6d337afa3e017793532f1969a13ded930853a84319bb60d3bccc2be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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