Unofficial Asyncronous Python Client for Lotus
Project description
aiolotus
Unofficial Asyncronous Python Client for Lotus
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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
aiolotus-0.0.1-py3-none-any.whl
(29.3 kB
view hashes)