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
Release history Release notifications | RSS feed
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 details)
Built Distribution
tiima-0.1.0-py3-none-any.whl
(4.7 kB
view details)
File details
Details for the file tiima-0.1.0.tar.gz
.
File metadata
- Download URL: tiima-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.6.8 Linux/4.19.84-microsoft-standard
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3325730dd58bc522a365ad77c1ea193b29963388161d4a00cad8bc91f147a3a |
|
MD5 | 0e6cea6581a54d26506047dc867ca895 |
|
BLAKE2b-256 | 6fe706bf21e9311839df955f9d08b2989c81456f8d074d55c28bfdb1a55ec733 |
File details
Details for the file tiima-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: tiima-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.17 CPython/3.6.8 Linux/4.19.84-microsoft-standard
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c8fe50ead546194758c5ae27d84f758c995d163aa70a9ea4b9ca49031270aae |
|
MD5 | 74eea28d572659729f37622c1f70bec0 |
|
BLAKE2b-256 | 32982a100c392e86ea9e1e15e734da104766ccb28be98f8cf8365e2e9d720d8c |