A simple Python wrapper for the DeskNet API.
- Issues: github.com/datadesk/python-desknet/issues
- Packaging: pypi.python.org/pypi/python-desknet
- Testing: travis-ci.org/datadesk/python-desknet
- Coverage: coveralls.io/r/datadesk/python-desknet
pip install python-desknet
Importing the library
from desknet import DeskNet
Creating a new client that can talk to the API
client = DeskNet("your_client_name", "your_client_secret")
Create a new element by submitting keyword arguments that correspond what's supported by DeskNet. There is no cleaning or preprocessing. DeskNet has to like what you submit. A dictionary is returned with what was saved to the site, including a unique identifier.
element = client.create(title='This is my budget item')