/
View dependency graph
Depends on
- debhelper (dh-sequence-single-binary)
- dh-python (dh-sequence-python3, pybuild-plugin-pyproject)
- hatchling (python3-hatchling)
- python3-defaults (python3-all)
- debhelper-compat
README (full)
igloohome-api
A python HTTP library based on aiohttp to make use of igloohome's REST API.
This library is designed to be used via the iglooaccess service.
Requirements
An account on the iglooaccess portal needs to be created to get a client_id & client_secret for authentication.
Usage
Authentication
from igloohome_api import Auth
from aiohttp import ClientSession
session = ClientSession()
auth = Auth(
client_id="<client_id>",
client_secret="<client_secret>",
session=session,
)
API usage
from igloohome_api import Api
api = Api(auth)
devices = await api.get_devices()
| dir | .github/ |
| dir | .idea/ |
| dir | debian/ |
| dir | src/ |
| file | .gitignore |
| file | LICENSE |
| file | Pipfile |
| file | Pipfile.lock |
| file | README.md |
| file | pyproject.toml |