Skip to main content

Unofficial Asyncronous Python Client for Lotus

Project description

aiolotus

Unofficial Asyncronous Python Client for Lotus

Latest Version: PyPI version

Official Client


Installation

# Install from PyPI
pip install aiolotus

# Install from source
pip install git+https://github.com/GrowthEngineAI/aiolotus.git

Usage

WIP - Simple Usage Example

import asyncio
from aiolotus import Lotus
from aiolotus.utils import logger

Lotus.configure(
    apikey = '...',
    url = '',
)

async def run_test():
    res = await Lotus.get_all_customers()
    logger.info(res)

    res = await Lotus.get_all_metrics()
    logger.info(res)

    res = await Lotus.get_all_plans()
    logger.info(res)

    res = await Lotus.get_all_subscriptions()
    logger.info(res)

    await Lotus.async_shutdown()


asyncio.run(run_test())

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

aiolotus-0.0.1.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

aiolotus-0.0.1-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file aiolotus-0.0.1.tar.gz.

File metadata

  • Download URL: aiolotus-0.0.1.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for aiolotus-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b590c7063b37a11addac1031d7c2737d45e9ebe4c5f027776ff2073401deb287
MD5 37c136e18cf7f2a9c14f713148901122
BLAKE2b-256 ff133e0ad09810f241dedf7508905b5a6dad7467d275a849ce789e34f8a5f74f

See more details on using hashes here.

File details

Details for the file aiolotus-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: aiolotus-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for aiolotus-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cb83c9abfbc5266793f848247e6a7cd7c2aca1bd84e3c9127a00667aa32f741
MD5 0db2046f82e4c7a650467e22592398eb
BLAKE2b-256 64ca4f7352860609d94455b6a90a99e7c517453873265a615111faca8bddc391

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page