No project description provided
Project description
Tutto API Client
Tutto API Client is a Python client for the Tutto API. It provides a simple and pythonic way to interact with the Tutto API.
Advantages
- Simple: Tutto API Client is designed to be simple and easy to use.
- Complete: Tutto API Client is designed to be complete and provides all the features of the Tutto API.
- High Performance: Tutto API Client is designed to be high performance due to its asynchronous nature when making HTTP requests to Tutto API.
- Lightweight: Tutto API Client is designed to be lightweight and has only 2 dependencies.
aiohttp and aiodns
Installation
pip install tutto-api-client
Usage
from tutto_api_client import TuttoAPIClient, Authorization
base_url = "https://my.tutto.base.url/tuttoapi/"
# Create Authorization object and TuttoAPIClient
auth = Authorization(
base_url=base_url,
user="a_user",
password="a_password",
basic_auth_token="a_big_token",
user_type="external",
)
client = TuttoAPIClient(base_url=base_url, authorization=auth)
# Get an endpoint and print the response dict
deductions_endpoint = client.get_deductions(reference="202401")
endpoint_response = deductions_endpoint.call()
print(endpoint_response)
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
Built Distribution
File details
Details for the file tutto_api_client-0.1.0.tar.gz
.
File metadata
- Download URL: tutto_api_client-0.1.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dda2ea767f85b2cef11c54acc7cee6e4dee5b4d26be2651918f93cbe36ab0c70 |
|
MD5 | 3d2698f46b4d096c57617736ac679bb8 |
|
BLAKE2b-256 | 928ed996bfeffa5ef1e5502fee539bfdd60a726508b34cd982970b5a4a90f8ff |
File details
Details for the file tutto_api_client-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: tutto_api_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b48558109931bde52e9aaf1a774eb63a5c962dbbb6a516500bb48c32d6722ef0 |
|
MD5 | 76289307161c511f297dee3cea06f067 |
|
BLAKE2b-256 | 3965f90dbc4a273eba7e15e473630ad684b27e6873395190bde6ee9ccea1244f |