Fully asynchronous library for Yandex Tracker
Project description
YaTracker
Asyncio Yandex Tracker API client
API docs: https://tech.yandex.com/connect/tracker/api/about-docpage/
Attention!
- All
self
properties renamed tourl
cause it's incompatible with Python. - All
camelCase
properties renamed topythonic_case
. - Methods named by author, cause Yandex API has no clear method names.
How to install
python3.7 -m pip install yatracker
How to use
from yatracker import YaTracker
tracker = YaTracker(org_id=..., token=...)
async def foo():
# create issue
issue = await tracker.create_issue('New Issue', 'KEY')
# get issue
issue = await tracker.get_issue('KEY-1')
# update issue
issue = await tracker.edit_issue('KEY-1', payload={'description': 'new text description'})
# don't forget to close tracker on app shutdown
async def on_shutdown():
await tracker.close()
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
yatracker-0.0.2.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for yatracker-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 887d5c17dab91804db9fa657a0a3212205b514609a7286e6b10276c170cee9b1 |
|
MD5 | bc5481a53b33eca8f58d3cac0e414e73 |
|
BLAKE2b-256 | d255d282f1ae60edbb9ec8d46bc9cac48da335de310ff60fd136d8f555c885e5 |