Metadata-Version: 2.4 Name: igloohome-api Version: 0.1.1 Summary: A python package for using igloohome's API Project-URL: Homepage, https://github.com/keithle888/igloohome-api Project-URL: Issues, https://github.com/keithle888/igloohome-api/issues Author-email: keithle888 License-File: LICENSE Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Requires-Python: >=3.8 Requires-Dist: aiohttp>=3.11.10 Requires-Dist: dacite>=1.8.1 Requires-Dist: pyjwt>=2.10.1 Description-Content-Type: text/markdown # igloohome-api A python HTTP library based on `aiohttp` to make use of [igloohome's REST API](https://igloocompany.stoplight.io/docs/igloohome-api/1w1cuv56ge5xq-overview). This library is designed to be used via the [iglooaccess](https://www.igloocompany.co/iglooaccess) service. ## Requirements An account on the iglooaccess portal needs to be created to get a `client_id` & `client_secret` for authentication. ## Usage ### Authentication ```python from igloohome_api import Auth from aiohttp import ClientSession session = ClientSession() auth = Auth( client_id="", client_secret="", session=session, ) ``` ### API usage ```python from igloohome_api import Api api = Api(auth) devices = await api.get_devices() ```