Python bindings for Tempo (https://apidocs.tempo.io/)
Project description
tempo-api-python-client
Python bindings for Tempo Rest API.
This is a Tempo API client library to simplify the interaction with Tempo timesheets.
Pip release is available: https://pypi.org/project/tempo-api-python-client/
Tempo Rest API documentation can be found at https://apidocs.tempo.io/
Installation
Install current release by pip
pip install tempo-api-python-client
Getting Started
You need an API token for communicating with tempo REST APIs.
from tempoapiclient import client
tempo = client.Tempo(
auth_token="<your_tempo_api_key>",
base_url="https://api.tempo.io/core/3")
worklogs = tempo.get_worklogs(
dateFrom="2019-11-10",
dateTo="2019-11-11"
)
for i in worklogs:
print(i)
There are also functions to retrieve user
and team
-specific worklogs.
Code Format
-
Flake8:
flake8 --max-line-length=120 tempoapiclient/*
-
Pylint:
pylint --max-line-length=120 tempoapiclient
Contributing
Contribution is welcome. See CONTRIBUTING.md for more details.
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
Built Distribution
Hashes for tempo-api-python-client-0.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 033665adb4a243ad65aed73c5207ce899b69b1a5e98a7ce8f9c5ce14fee375a6 |
|
MD5 | 253ce50c5a479efb6ec7ac0752279ffb |
|
BLAKE2b-256 | bbb33cd05b99f537a860940da7566c840b2eb89e8f04267993f1e0f0f046af27 |
Hashes for tempo_api_python_client-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd0ebf6fb89c5162e454db34f9f0260a5350d0a62ceff844bbef897ff86da05 |
|
MD5 | 73827a50174621e28065bddbcbd59118 |
|
BLAKE2b-256 | 5ba89ed0b935beea423cfec269dff22f5416f1b4bb88cc8c97e4cc40b91e48b0 |