|build| |downloads| |license|
A pythonic Lime Light API wrapper.
We currently support only a subset of the full Lime Light API functionality, we will be adding
methods and plan to achieve total coverage some time during the next several months.
``python-limelight`` contains two modules that implement the two APIs that Lime Light exposes. Lime
Light calls these APIs their Transaction and Membership APIs, we've implemented them as
``limelight.transaction`` and ``limelight.membership``. Both are essentially an 1:1 mapping of
pythonic-as-possible functions to API methods. Unfortunately, Lime Light's API is pretty much all
over the place. It's comprehensive and useful, but not well organized or consistent.
Our solution is designed for both flexibility and ease of use: the entire API is exposed in python
in the aforementioned modules and is used as machinery for a much more cohesive interface to the
Additionally, ``python-limelight`` implements extensive client-side data validation to limit the
amount of time spent waiting for a response (which can take up to *thirty seconds*).
``python-limelight`` is available on PyPi:
pip install python-limelight
Though, for the time being we recommend you track the git repo:
pip install git+https://github.com/heropunch/python-limelight.git@master
Making API Calls
>>> import os
>>> from limelight.api import TransactionClient
>>> client = TransactionClient(host=os.environ['LIMELIGHT_HOST'],
.. |build| image:: https://travis-ci.org/zulumarketing/python-limelight.svg?branch=master
.. |license| image:: https://pypip.in/license/python-limelight/badge.png
.. |downloads| image:: https://pypip.in/download/python-limelight/badge.png