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.backlog import Backlog
>>> backlog = Backlog('space_name','api-key')
>>> response = backlog.get_project_list({'archived':'false', 'all':'false'})
>>> 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}
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
BacklogPy-0.5.3.tar.gz
(8.6 kB
view details)
Built Distribution
File details
Details for the file BacklogPy-0.5.3.tar.gz
.
File metadata
- Download URL: BacklogPy-0.5.3.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20bb2280c60a379d2678e3915f4fe106973adf91e3838f2f8b706a7bd25fe074 |
|
MD5 | 6150563f4753b006295deec5fccb72b1 |
|
BLAKE2b-256 | 8f4c845c9664607061fca94587606a3a6ae1dcbb7a97296466e1de3221b39886 |
File details
Details for the file BacklogPy-0.5.3-py2.py3-none-any.whl
.
File metadata
- Download URL: BacklogPy-0.5.3-py2.py3-none-any.whl
- Upload date:
- Size: 34.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50870e54163e32e1b9a6ba39b76776f0f009abe3d2bdda3425d251ddf9cffb2f |
|
MD5 | 73538e0b41d20f18c11c8e84cb9e544e |
|
BLAKE2b-256 | bca0e0165cca005c622a35d160c6a922764a15cdaea302f9e0d02fccfb775bfe |