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

Uploaded Source

File details

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

File metadata

  • Download URL: advantage_air-0.2.8.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.2.8.tar.gz
Algorithm Hash digest
SHA256 2b8c11968be2ffc5560b54889d51dbd4ba72edac6c3ec530252d395d4e2fb6dd
MD5 7597ff163a8a043ee7bed943dabac8f5
BLAKE2b-256 0b98cf2185ee53a07e133f851cb2379dbda36f11ce2040043b88f14f21566481

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