Python APIΒΆ

Installing the Python API is optional, as everything in the Ship API can be easily accomplished via curl or your favorite scripting language, but it is convenient.

Note

The Python API will work properly in Python 2.7, but Python 3 is recommended because of the improved unicode support.

Installation:

pip install shippy

Note that you probably have to use sudo to install shippy system wide.

Usage Examples:

import shippy

api = shippy.Api(token="Paste your token here")

myOpenProblems = api.problem_search("assignee.identifier = $ApiUser AND state.resolved = NO")

Source code (Github)