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.2.5.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file advantage_air-0.2.5.tar.gz
.
File metadata
- Download URL: advantage_air-0.2.5.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfc72c8350afa73e1d9110b094d73cf9a7fb689e710eb64ed43f1c09a06578f0 |
|
MD5 | c0f09cffc8a3d170aced16369f675dfd |
|
BLAKE2b-256 | ff910a727b9cc44de3fbb351ba93623a3b984b3239a2e82b9a6e269d6e967edd |
File details
Details for the file advantage_air-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: advantage_air-0.2.5-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d557718725979360853252659f5845394b3da288da179f25f58bed22eeb42cb |
|
MD5 | cefc6a3862ade7956b8ff5959a6d4e78 |
|
BLAKE2b-256 | 9d3948d68441b245078c8c53d08e4547118b3b1b9ed55e46e1534c8ef5efde5a |