Skip to main content

tempo-client

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

Example

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)

Changelog

0.0.1

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

Metadata

Release files for tempo-client 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for tempo-client 0.0.1
File Interpreter ABI Platform
tempo_client-0.0.1-py3-none-any.whl Python 3 none any Details

Release files / tempo_client-0.0.1-py3-none-any.whl

Download URL tempo_client-0.0.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79864875b4c6912bbacda94686479e40754189fc376e5fbd8370459af5672b93
BLAKE2b-256 checksum
How to use checksums
d0247cfe788d98faea29138cdde32b43b81689f5e2dac4ff6d24677865464e16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page