Skip to main content

Python API Client for Visma Tiima

Project description

Tiima

A Python wrapper around the Visma Tiima mobile REST API

Installation

PIP

pip install tiima

Poetry

poetry add tiima

Usage

from tiima import Tiima

# Usage with env vars
tiima = Tiima()
tiima.login()

# Setting auth variables explicitly
tiima = Tiima(company_id="foo", api_key="bar)
tiima.login(username="example@example.com", password="example")

# Calling an API endpoint
print(tiima.user())

Configuration

Authentication can be done either explcitly or by settings the following environment variables:

Variable Description
TIIMA_USERNAME Users Tiima username (email)
TIIMA_PASSWORD Users Tiima password
TIIMA_COMPANY_ID Users company id (usually all caps)
TIIMA_API_KEY Tiima API Key

Disclaimer

This software has no connection to Visma, nor is it in any way endorsed by Visma or any other company affiliated with the product (Visma Tiima). This project was created to make it easier for developers to use the API and for them to be able to create their own application around the API.

License

MIT

Project details


Download files

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

Source Distribution

tiima-0.1.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

tiima-0.1.0-py3-none-any.whl (4.7 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