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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rotarex_dimes_srg_api-0.1.4.tar.gz
  • Upload date:
  • Size: 3.8 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.4.tar.gz
Algorithm Hash digest
SHA256 c1ccba7cea04bddfb4f810504de6935a5a1fd50e4ba01341b99a705753af7fbf
MD5 6d7b530ba7629ef776c0c394aae132f4
BLAKE2b-256 3836287929cffb12eeec5f4a426d57432eb9680a1c10c2da0dfba313d4797172

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rotarex_dimes_srg_api-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 19d605ef29100085b89868c1ea44c17da569dac40158ab2b1d1ff079c9d6d1b9
MD5 3fcd305d2560b52345d1a917c2315974
BLAKE2b-256 3e1f13f2d8024051f912c83235380c589fae66bf3febba8aace104a63e6973aa

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