Skip to main content

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.

Files for backlogapi, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size backlogapi-0.1.5-py2.py3-none-any.whl (18.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page