Assistly.com is a web2.0 service for web support, offering functions like private and public cases, interactions between clients and operators, many users, user groups, topics, etc.
Assistly offers an API following the REST best known concepts, under OAuth authentication and JSON format.
python-assistly is a wrapper library to make easy and accessible to implement the Assistly API with Python language.
You can get the current trunk version from our git respository:
git clone git@github.com:mochii/python-assistly.git
cd python-assistly
python setup.py install
You will just do the same you usually do:
pip install python-assistly
or
easy_install python-assistly
or just download the tarball, uncompress and:
python setup.py install
python-assistly depends on the following packages to work properly:
Thanks to their authors.
You can read the test files to see how everything work.
The basic thing is:
from assistly import AssistlyAPI
api = AssistlyAPI(base_url='YOUR_ASSISTLY_SUBDOMAIN', key='YOUR_CONSUMER_EY', secret='YOUR_CONSUMER_SECRET')
api.set_token(token_key='YOUR_TOKEN_KEY', token_secret='YOUR_TOKEN_SECRET')
api.verify_credentials()
response = api.interaction_create(subject='SUBJECT', customer_email='YOUR@EMAIL.COM')
print response.interaction
print response.case
print response.customer
The official API documentation will inform you which arguments and fields are available:
Assistly's support can also help you: