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.1.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file advantage_air-0.2.1.tar.gz
.
File metadata
- Download URL: advantage_air-0.2.1.tar.gz
- Upload date:
- Size: 2.2 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 | 39e393e36058411e7f7e196530a4c5e459f824e5060bbe132700fcbf00038322 |
|
MD5 | 110b4633c23819308438cd74f629b4e0 |
|
BLAKE2b-256 | 641a84bbb19515a836c3e9c9b10d09976cccfca6edd34f4017284a594e5a4da2 |
File details
Details for the file advantage_air-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: advantage_air-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.4 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 | bb2e3480c45c24c08926a2baebc8ceaa11724660a4d879645b08c655dff69aa4 |
|
MD5 | db1c9efce8327a935498c62f64cd0f28 |
|
BLAKE2b-256 | b74fea361605afb64b93b25ac01d381f69251108c8dd3fd1b611f76b7cc98c7f |