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_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.1.tar.gz (3.1 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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rotarex_dimes_srg_api-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for rotarex_dimes_srg_api-0.1.1.tar.gz
Algorithm Hash digest
SHA256 764ee351b6aa02f804e71ac5993e9791dc258abb0a17615af21c2e3d2f1f2694
MD5 335877b487b1cef6dc5241c6d1c927ee
BLAKE2b-256 e4a351c918e1d86da372a29d9f661de80e8c12e2fc1bf40c7b4cc443224f868b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rotarex_dimes_srg_api-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1c19f0e4a9dc3ac6c25f2699a6ff4e9cded35d4d12e3c0487bfe20e210c2764
MD5 d9aa494a0cd8456aa9c00ef4f0873b50
BLAKE2b-256 c14db62d974c9df28064fea888c84a32ef558c0cdf7ba31d1d5833f2eacd72cc

See more details on using hashes here.

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