API helper for Advantage Air's MyAir and e-zone API
Project description
Advantage Air API Wrapper
import asyncio
import aiohttp
from advantage_air import advantage_air
async def main():
async with aiohttp.ClientSession() as session:
aa = advantage_air("192.168.100.24",port=2025,session=session,retry=5)
if(await aa.async_get(1)):
print(await aa.async_get())
print(await aa.async_change({}))
asyncio.run(main())
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
advantage_air-0.3.1.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file advantage_air-0.3.1.tar.gz
.
File metadata
- Download URL: advantage_air-0.3.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0be701ea81e66ebf661d92a76e5b38db27a7432dfe2fc86e2e4f7029acc859f5 |
|
MD5 | 7827cd82110a5b7a70ff765203d484e7 |
|
BLAKE2b-256 | 8b3205b0f98d8300641cf4d0963ec9c0136d2b33a1702e838057458daeeb938b |
File details
Details for the file advantage_air-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: advantage_air-0.3.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e80e8703c804058bc041facc21ca99c4348e4318e611cb82610f3c912a9d7f1 |
|
MD5 | 0d434bc21cfae573f1229e493654b88e |
|
BLAKE2b-256 | 3bfea7f144d398ab30722c4def0f604caa7256607dbfb8b000255ee10f4fbb6f |