Skip to content

snoopckuu/tempo-api-python-client

 
 

Repository files navigation

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://tempo-io.github.io/tempo-api-docs/

Installation

Install current reelase 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.

Contributing

Contribution is welcome. See CONTRIBUTING.md for more details.

Packages

No packages published

Languages

  • Python 100.0%