This release is a pre-release and may not be stable for production use.
# 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.
## 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.1.8-alpha
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| responsys-0.1.8-alpha.tar.gz | 16.6 kB | Details |
Release files / responsys-0.1.8-alpha.tar.gz
| Download URL | responsys-0.1.8-alpha.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d7747afd54471a60fffa51e8f89f725ec74aa9b190b5afd51a88c0a58880b0d
|
|
BLAKE2b-256 checksum How to use checksums |
77942a0da5b834c11b7bd2bcc1a2b80b90e4de5d52b4d0e197ab193617634350
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |