Skip to main content

timr-api

Official Python client for the timr API.

The timr API exposes the recordings a user makes — working times, project times and drive logs — together with the master data they refer to: users, teams, tasks, cars, working time types, work schedule models and holiday calendars.

Full API reference: developer.timr.com

Requirements

Python 3.11+

Installation

pip install timr-api

Usage

import os
import timr_api

configuration = timr_api.Configuration()
configuration.access_token = os.environ["TIMR_ACCESS_TOKEN"]

with timr_api.ApiClient(configuration) as api_client:
    cars = timr_api.CarApi(api_client).fetch_cars()
    for car in cars.data:
        print(f"{car.name} ({car.plate})")

Configuration defaults to https://api.timr.com/v1; pass host= to point at another environment. See timr_api/configuration.py for the full set of parameters.

Authentication

The API uses OAuth 2.0. Two flows are supported:

Flow Use for Scopes
client_credentials server-to-server integrations acting as the client openid, timrclient
authorization_code (with PKCE) acting on behalf of a timr user openid, offline_access

Authorization endpoint: https://system.timr.com/id/oauth2/authorize

Obtain a token through your OAuth library of choice and assign it to configuration.access_token.

Support

info@timr.com

License

Apache License 2.0

Metadata

Release files for timr-api 2.0.0

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

Source distribution (sdist)

Source distribution for timr-api 2.0.0
File Size Uploaded Provenance Actions
timr_api-2.0.0.tar.gz 108.0 kB With provenance Details for timr_api-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for timr-api 2.0.0
File Interpreter ABI Platform Actions
timr_api-2.0.0-py3-none-any.whl Python 3 none any Details for timr_api-2.0.0-py3-none-any.whl

Total release size: 398.2 kB

Release files / timr_api-2.0.0.tar.gz

Download URL timr_api-2.0.0.tar.gz
Size 108.0 kB
Tags Source
SHA-256 checksum
How to use checksums
360bd2b9b9185a7dad6738d69c7b8bfd9d3501e0f26fc7bf3891f20d45e713f4
BLAKE2b-256 checksum
How to use checksums
d77790dba3c6d18645c531ac0a2c3dfaf51caff123b3d2f821e95f521e796e02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / timr_api-2.0.0-py3-none-any.whl

Download URL timr_api-2.0.0-py3-none-any.whl
Size 290.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66370d619087581d0a9b8becb9aae4370d3f457c250ea3e1d2102358971f909d
BLAKE2b-256 checksum
How to use checksums
6bdbe864952ef56d5b9d73edaf5c39cb547da53b8684256eaa5990df4328da37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Security for timr-api 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for timr_api-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files Full provenance

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