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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: advantage_air-0.2.2.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

Hashes for advantage_air-0.2.2.tar.gz
Algorithm Hash digest
SHA256 bd4810968c48962b463d898181c049b956ce1247693b4d2a000c949cb8d40213
MD5 0035236ab3b306be19f3dc504304019f
BLAKE2b-256 df9f7c0700dbc086d50f9087bc66f6fe351de4aea5cbcf1ce3a4da07f565e102

See more details on using hashes here.

File details

Details for the file advantage_air-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: advantage_air-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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

Hashes for advantage_air-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40eeae668e224c40c68850adec123dc844ceee17be4ccaa6001d22a1c26048b2
MD5 e00b8dba5f00f82c3dfebd98bc2328cb
BLAKE2b-256 9e66390ff2b79cc3c18085b8ab974eb94bfe485d90062ab8206581b0d6aa22bd

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