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.5.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59b222fc34bcaa41dfc80ff70626a3b346ec75ade91f8d5a8db4df975fb5da5e |
|
MD5 | c32b591a18ccfcafbbd87c6a5e31829e |
|
BLAKE2b-256 | c834694a4bed0d7e21ac5eeb9dd66c771059a5f81515705560d4bb4aeb129718 |
Hashes for tempo_api_python_client-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ea32b44ba1e8cca05e0528ec999697b1876472f7ab669dbe9cdbfa5a4f1fdf7 |
|
MD5 | a2c0cf8986f54504104f95e1625b1a43 |
|
BLAKE2b-256 | d37e09dbde3170fa83836348f6e8020e6936553b4ecabf05abd758e7845e6c08 |