Skip to main content

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


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.2.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

advantage_air-0.2.2-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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