Skip to main content

A Python client to Tempo Timesheet REST API

Project description


A Python client to Tempo Timesheet REST API

Simple Client for interfacing to Tempo Timesheet.

We use it to pull worklogs and aggregate to our billing system, so all endpoints are not implemented. If you want more functions we would love a pull request.

We don’t use the full OAuth2 authorization, just the API token generated from within JIRA.

See Tempo Timesheet Documentation for more details.

Supported functions

  • Get all accounts

  • Get account info

  • Get worklogs for account


import iso8601
from tempo_client.client import TempoClient

client = TempoClient(access_token='xxxxxxxxx')

from_date = iso8602.parse_date('2018-02-01')
end_date = iso8602.parse_date('2018-02-28')

worklogs = client.get_account_worklogs(
    account_key='ACCOUNT', start=from_date, stop=end_date)



First implementation of the client. Really need to add better error handling…

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tempo_client-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page