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.3.0.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file advantage_air-0.3.0.tar.gz.

File metadata

  • Download URL: advantage_air-0.3.0.tar.gz
  • Upload date:
  • Size: 3.4 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.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for advantage_air-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2be521bd6c15d88729c79de5df31610fb2d3c27d28b6c1e96d47c9e15bb412dd
MD5 50d118c4fe759a2220ae36a5181aef58
BLAKE2b-256 0f76acad0d3d9148819a948209fc3ff276ac90b4f998bf40567ec6cb2b2252e0

See more details on using hashes here.

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