Backlog client library for Python
Project description
Backlog API
Backlog API is client library for using backlog API. This library provides simple connection to RESTful API by CRUD function.
>>> from backlogapi import BacklogClient
>>> client = BacklogClient(api_key='your_key', space_name='space')
>>> space = client.space.get()
>>> space.id
18812
>>> projects = client.project.all()
>>> project1 = projects[0]
>>> project1.name
project1
>>> users_in_project1 = project1.users
>>> users_in_project1
[<User: user1>, <User: user2>]
>>> # get issue in the project and can add parameter
>>> parent_issues_in_project1 = project1.get_issue({'parentChild': 4})
>>> issue1 = parent_issues_in_project1[0]
>>> issue1.due_date
'2018-05-25T12:00:00Z'
Future
- Support all API
- Support OAuth 2.0 and any more
Requirements
- Python 3.6
- requests 2.18.4
Installation
$ pip intsall backlogapi
License
This software is licensed under the MIT license.
Change Log
v0.1.5 (2018/05/15)
- Add issue and project test
- Fix example code
- Delete unusual code
v0.1.4 (2018/05/12)
Fix deployment
v0.1.3 (2018/05/12)
Fix TravisCI
v0.1.2 (2018/05/12)
Add pipenv
v0.1.0 (2018/05/11)
Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file backlogapi-0.1.5-py2.py3-none-any.whl
.
File metadata
- Download URL: backlogapi-0.1.5-py2.py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4327da5643df1134a6cb0f3c6bee84d82ab447788e25544d319bb8dcead461fb |
|
MD5 | 42162033e3382135b76c72aa0c001c16 |
|
BLAKE2b-256 | 2e6559228aa5aebb2281f9bd093574636b5e62982ace1bad32fbc93550a1d699 |