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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rotarex_dimes_srg_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b653365676622b543326b4694a21585614887d8b08b0f3e319ce4c1e2b1b41a
MD5 d079859f82e9ea6f67346f195f45750b
BLAKE2b-256 cb0787687a39a95ec6aabf318139437ee613fb23b63bdb09c52d521ced033aac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rotarex_dimes_srg_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecdf14e47f720acc942d6c6f5140d8f8a6f190c641a84dc0fb82b7f92b859aa8
MD5 df4a6550428981c453b930560fd2464d
BLAKE2b-256 ebf17f9984a25213ee24d55ab9c59f3e99a98d26d6cbe4f8d915c51aaef3fedc

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