<commit_before># py_responsys
This repository houses an api client for use with the Oracle Responsys v1.1 REST API. Documentation
for REST API itself can be found here: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCEB/OMCEB.pdf.<commit_msg>update readme file with getting started code<commit_after># py_responsys
This repository houses an api client for use with the Oracle Responsys v1.1 REST API. Documentation
for REST API itself can be found here: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCEB/OMCEB.pdf.

This implementation is written in Python 2.7.

# Getting Started
To get started, simply import the ResponsyClient and initialize an instance with your username, password
and login url. Once this is complete, you may begin using the public methods to interact with the
profile lists, extension tables and supplemental tables. An example of this is shown below:

```python
from client import ResponsysClient
client = ResponsysClient(username='your_username', password='<PASSWORD>', login_url='your_login_url')
client.get_profile_lists()
```


{'fraction_non_alphanumeric': 0.06828811973807297, 'fraction_numerical': 0.005612722170252572, 'mean_word_length': 5.524390243902439, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6213575', 'n_tokens_mistral': 300, 'n_tokens_neox': 284, 'n_words': 125}