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 details)
Built Distribution
File details
Details for the file yatracker-0.0.2.tar.gz
.
File metadata
- Download URL: yatracker-0.0.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3489fa6f65707a1b623bfb861d47136e523130f0926bc30949c014a289017391 |
|
MD5 | 4e8ce2d0069553d35796611d59b9dcc4 |
|
BLAKE2b-256 | 0c5fa9bb7ab2f8e6fe3215e0a05bfe2c06f55c87109c790729aaa81382c8c6e0 |
File details
Details for the file yatracker-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: yatracker-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 887d5c17dab91804db9fa657a0a3212205b514609a7286e6b10276c170cee9b1 |
|
MD5 | bc5481a53b33eca8f58d3cac0e414e73 |
|
BLAKE2b-256 | d255d282f1ae60edbb9ec8d46bc9cac48da335de310ff60fd136d8f555c885e5 |