Skip to main content

Async Python client for Rotarex DIMES SRG API

Project description

rotarex-dimes-srg-api/README.md

Rotarex Dimes SRG API

This project provides a Python API client for interacting with the Rotarex Dimes SRG service. It allows users to fetch tank information and perform other operations related to the service.

Installation

To install the package, you can use pip:

pip install rotarex-dimes-srg-api

Usage

Here is a simple example of how to use the Rotarex API client:

import asyncio
import aiohttp
from rotarex-dimes-srg-api import RotarexApi

async def main():
    async with aiohttp.ClientSession() as session:
        api = RotarexApi(session)
        api.set_credentials("your_email@example.com", "your_password")
        tanks = await api.fetch_tanks()
        print(tanks)

if __name__ == "__main__":
    asyncio.run(main())

Running Tests

To run the tests for this project, you can execute the following command:

pytest tests/

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

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

rotarex_dimes_srg_api-0.1.5.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rotarex_dimes_srg_api-0.1.5-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file rotarex_dimes_srg_api-0.1.5.tar.gz.

File metadata

  • Download URL: rotarex_dimes_srg_api-0.1.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rotarex_dimes_srg_api-0.1.5.tar.gz
Algorithm Hash digest
SHA256 74ec6dc9fb01c1c79f94a0ff51a2697be5489091bef4fda57176199534dba398
MD5 f621155a418293f0d27a6de3224d5b88
BLAKE2b-256 496a41860fcbe13ee71bc1a61fd765e9fd4fa38e64d31366303ca3b166c08254

See more details on using hashes here.

Provenance

The following attestation bundles were made for rotarex_dimes_srg_api-0.1.5.tar.gz:

Publisher: python-publish.yml on Rotarex/rotarex-dimes-srg-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rotarex_dimes_srg_api-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for rotarex_dimes_srg_api-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a3c9d8b198ce68a16e700eb069261ad7d5ac362c2c213c79f95b13ef6e497bd9
MD5 544c7472e8454bf7daf279cfcc21cf1f
BLAKE2b-256 12ab087dd5c320eb54c4e8fcfd522220d88ad208d10cd70382425638b09f866b

See more details on using hashes here.

Provenance

The following attestation bundles were made for rotarex_dimes_srg_api-0.1.5-py3-none-any.whl:

Publisher: python-publish.yml on Rotarex/rotarex-dimes-srg-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page