Backlog API v2 Client Library
Project description
BacklogPy is Backlog API v2 Client Library for Python 2/3
Install
You can install the client library with pip:
$ pip install BacklogPy
Example
The client Library has API Call methods for All Backlog v2 API:
>>> from BacklogPy import Backlog
>>> backlog = Backlog('space_name','api-key')
>>> response = backlog.get_project_list(all=True, archived=True)
>>> print(response.json()[0])
{'archived': False,
'chartEnabled': True,
'displayOrder': 1234563786,
'id': 12345,
'name': 'Coffee Project',
'projectKey': 'COFFEE_PROJECT',
'projectLeaderCanEditProjectLeader': True,
'subtaskingEnabled': False,
'textFormattingRule': 'markdown',
'useWikiTreeView': True}
Also you can use dict parameters with ‘*_raw’ methods:
>>> response = backlog.get_project_list_raw({'archived':'false', 'all':'false'})
ScreenShot
You can use auto-completion for methods and arguments in Interpreter(IPython) and IDE(PyCharm, Jedi and more)
Development
Tests
tox can support to test with few python versions
$ tox
$ tox -e py26,py36
or nosetests for one Python version
$ nosetests tests/backlog
Generating The Backlog API v2 Client
The Backlog API v2 Client is created by api_generator. api_generator downloads API Documents from https://developer.nulab-inc.com/docs/backlog/ . And parse API Documents to generate The Backlog API v2 Client:
$ python3 api_generator/api_generator.py download
$ python3 api_generator/api_generator.py create
Build Wheel Package
$ pip3 install wheel
$ python3 setup.py bdist_wheel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for BacklogPy-1.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0424ec45e0b5d9ce295dcc2c542a4828362b5f7f2589815dad97709c18a870b |
|
MD5 | d8cce4ae824b6907c4d315f20a21bd45 |
|
BLAKE2b-256 | 479fb539debd106571f8e02c5937cdea590544ce0dc8e5cdf003b35a7daf9ed7 |