Async client for Yandex Tracker API
Asyncio Yandex Tracker API client
selfproperties renamed to
urlcause it's incompatible with Python.
camelCaseproperties renamed to
- 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 (just pass kwargs) issue = await tracker.edit_issue('KEY-1', description='Hello World') # get transitions: transitions = await issue.get_transitions() # execute transition transition = transitions await transition.execute()
# don't forget to close tracker on app shutdown async def on_shutdown(): await tracker.close()
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for yatracker-2021.7.2-py3-none-any.whl