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.2.tar.gz
(8.5 kB
view details)
Built Distribution
File details
Details for the file BacklogPy-0.5.2.tar.gz
.
File metadata
- Download URL: BacklogPy-0.5.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1649e40d9e1bbe91e540ec0a958a6bafb31df5d2a7528bfb2a974bf1ea623f3 |
|
MD5 | ccf29ea55345a81bd5a7c27ad66b8e01 |
|
BLAKE2b-256 | 00a1559006992a19efea50e0a53d8f055c4b100317c72524ea66464d292319b3 |
File details
Details for the file BacklogPy-0.5.2-py2.py3-none-any.whl
.
File metadata
- Download URL: BacklogPy-0.5.2-py2.py3-none-any.whl
- Upload date:
- Size: 34.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d96c2d94974a2b53b245bc1161bd05f863c8853365132e977e85335acd528f76 |
|
MD5 | a3431073a4f1a9116211eff1f71791eb |
|
BLAKE2b-256 | 8e0351e21f1d45e67f2d266d36b764d43b40931bdc655b261cabb540ed03029e |