Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

datadesk/python-desknet

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

python-desknet

A simple Python wrapper for the DeskNet API.

Build Status PyPI version Coverage Status Documentation Status

Installation

pip install python-desknet

Basic usage

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')