Skip to main content

Python client library for the Responsys Interact API

Project description

# 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`. For convenience, this project also utilizes [testtube](https://github.com/thomasw/testtube). After creating the dev environment, simply run the `stir` command to have testtube run tests after changes to the project.

## Legal ##

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

[License](./LICENSE)

Project details


Release history Release notifications

History Node

0.2.4

History Node

0.2.3b1

History Node

0.2.2b1

History Node

0.2.2-alpha

History Node

0.2.1-alpha

History Node

0.2.0-alpha

History Node

0.1.12-alpha

History Node

0.1.11-alpha

History Node

0.1.10-alpha

History Node

0.1.9-alpha

History Node

0.1.8-alpha

History Node

0.1.7-alpha

History Node

0.1.6-alpha

History Node

0.1.5-alpha

History Node

0.1.4-alpha

This version
History Node

0.1.3-alpha

History Node

0.1.2-alpha

History Node

0.1.1-alpha

History Node

0.1.0-alpha

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
responsys-0.1.3-alpha.tar.gz (15.9 kB) Copy SHA256 hash SHA256 Source None Jun 24, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page