Skip to main content

A python package for using igloohome's API

Project description

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

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

igloohome_api-0.0.4.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

igloohome_api-0.0.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file igloohome_api-0.0.4.tar.gz.

File metadata

  • Download URL: igloohome_api-0.0.4.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for igloohome_api-0.0.4.tar.gz
Algorithm Hash digest
SHA256 bb954dd5f0c7e011279d3d7fdb9ba99b06a2f74ff8cdecc91bd0f8be3bf0f95c
MD5 005c4edeb2479220a3d8bddaea477ee8
BLAKE2b-256 24001f9dcf71bf929f01f7c2fcdc2afe8f2e9d6e71245a54b48ed2d213dbac1a

See more details on using hashes here.

File details

Details for the file igloohome_api-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: igloohome_api-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for igloohome_api-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 273a05517a2a5c36a2d31818158ccf8296f62f770caa0b84c0b8fc4fb28b4367
MD5 148549f043ab5c3891ad27a42faeb70e
BLAKE2b-256 21751b59c3a94a9ae95285ced41e5a8e7acf2aac5a9d4babef9717e178885991

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page