Debian Codegraph @

/

debian igloohome-api 0.1.2-1debian python3-igloohome-api debianmakefilemarkdownpythonshelltomlxmlyaml 18 files · 46 symbols
View dependency graph

Depends on

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