Python package for interacting with AirPatrol devices.
Project description
airpatrol
Python package for interacting with AirPatrol devices.
Installation
pip install airpatrol
Usage
from airpatrol.api import AirPatrolAPI
import asyncio
from aiohttp import ClientSession
async def main():
async with ClientSession() as session:
api = await AirPatrolAPI.authenticate(session, 'your@email.com', 'password')
devices = await api.get_devices()
print(devices)
asyncio.run(main())
Development
- Clone the repo
- Install dependencies:
pip install -r requirements.txt - Run tests:
pytest
License
MIT License
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
airpatrol-0.1.0.tar.gz
(7.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file airpatrol-0.1.0.tar.gz.
File metadata
- Download URL: airpatrol-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
342444101dea047cf63ed1e429f0ce9b4efeee47860966443df037a20275a3a7
|
|
| MD5 |
507c128286d9c08cbcd75a25a16ceedd
|
|
| BLAKE2b-256 |
ba18c8664efbc51df156193fca3dcd25e2020dbe4b48011df5d1b4f852e506e9
|
File details
Details for the file airpatrol-0.1.0-py3-none-any.whl.
File metadata
- Download URL: airpatrol-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc0983068680fd01bcc104510a8adc4bd6292c00cbfa2ec2bbc374cd49a3f6a6
|
|
| MD5 |
4512bfc41e2d33cabe59334a0d67c166
|
|
| BLAKE2b-256 |
087f8831f8f0678c4bc6a6c9483992852af58230dcf5e1bb84c5a6ce1387ff62
|