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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rotarex_dimes_srg_api-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 6ab9d83debb6c4d8509914af846ff69badbc406d60fc3f8628e91fe4ed9ce0b0
MD5 7f9828794395df588c395980326d368c
BLAKE2b-256 bd693c28a2e6adefb382d4ee090863cc661d4e49983292b1b62389ad61b0d5f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rotarex_dimes_srg_api-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0238ae14082edd6e5a957b46e3a3bb240c1adffd5d95bc9934b366f9f9edc11b
MD5 ed94826d063e4c01a1fbc8bfcbce2801
BLAKE2b-256 c9fa3f6f3bbe386d7cc2e608b822ab8f6cb8da1bb4dff392464a28aaf8b5691e

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