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.2.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.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rotarex_dimes_srg_api-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d898b691742d53a980a85f0816e0ad5c6f2b6c6021f230fbb32175383072fe2f
MD5 caa436d15fce3d949365b553c89c59c4
BLAKE2b-256 63ddd666eacdc4cfff7a2130c76bdd0bf3124f2d8ae7eb7d11824b414f1bf096

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rotarex_dimes_srg_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 670603026692319cf0c734d43a466a10066b0490f2a929de60711032a643ab03
MD5 84aca66e498c8928b27b4df4de0240c5
BLAKE2b-256 4b31f35aa7225f38a50da7cc778ec4a3af6955a253254727df4b9343a97b3e39

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