Skip to main content

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

tutto_api_client-1.0.6.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

tutto_api_client-1.0.6-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file tutto_api_client-1.0.6.tar.gz.

File metadata

  • Download URL: tutto_api_client-1.0.6.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for tutto_api_client-1.0.6.tar.gz
Algorithm Hash digest
SHA256 e916dd275e9a5abd28a04c95efe944d971e0f7a7ec9c7e43e8b88db214a1ac9d
MD5 ca7b15b943a2c6c4cc70c27cb5aa3400
BLAKE2b-256 147afc28f907de0bb7e940f9fd280f21e6dd81ab1a27b1063e64a422257b5887

See more details on using hashes here.

File details

Details for the file tutto_api_client-1.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for tutto_api_client-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0e99f14aba2e11ca74db002022969a7a358ae5a092d1162512c148b7bcfe8bd2
MD5 de985aa9df9e51fc7c7b7e8fd8f8db6d
BLAKE2b-256 04509a4fac1f19ee4a9e8f9eb196e7fc63b29241eb00c789bc622c9fa0a975bd

See more details on using hashes here.

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