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
Metadata
Release files for tiima 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tiima-0.1.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tiima-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / tiima-0.1.0.tar.gz
| Download URL | tiima-0.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3325730dd58bc522a365ad77c1ea193b29963388161d4a00cad8bc91f147a3a
|
|
BLAKE2b-256 checksum How to use checksums |
6fe706bf21e9311839df955f9d08b2989c81456f8d074d55c28bfdb1a55ec733
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.6.8 Linux/4.19.84-microsoft-standard
|
Release files / tiima-0.1.0-py3-none-any.whl
| Download URL | tiima-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c8fe50ead546194758c5ae27d84f758c995d163aa70a9ea4b9ca49031270aae
|
|
BLAKE2b-256 checksum How to use checksums |
32982a100c392e86ea9e1e15e734da104766ccb28be98f8cf8365e2e9d720d8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.6.8 Linux/4.19.84-microsoft-standard
|