imouapi
This python library helps in interacting with Imou Life Open API for remote controlling programmatically your Imou devices, especially those settings such as motion detection, human detection, privacy, etc that can be changed by the Imou Life App only.
Features
- Provide classes for both low level API interaction as well as device and sensors abastractions
- Exceptions and error handling
- Based on asyncio module
Quickstart
- Install the library with
pip install imouapi - Register a developer account on Imou Life Open API and get your
appIdandappSecret - Instantiate the Imou API client (
from imouapi.api import ImouAPIClient) and initialize it (e.g.api_client = ImouAPIClient(app_id, app_secret, session)) - Discover registered devices by importing the Discover service (
from imouapi.device import ImouDiscoverService), inializing it (e.g.discover_service = ImouDiscoverService(api_client)) and running a discovery (e.g.discovered_devices = await discover_service.async_discover_devices()) - Either use the high level API by importing the Imou Device class (
from imouapi.device import ImouDevice) and initializing it (e.g.device = ImouDevice(api_client, device_id)) or using directly the low level API provided byImouAPIClientto interact with the device
Full details on the installation process, requirements, usage and classes and methods made available by the library are available at https://user2684.github.io/imouapi
Metadata
Release files for imouapi 1.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| imouapi-1.0.15.tar.gz | 33.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| imouapi-1.0.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.9 kB
Release files / imouapi-1.0.15.tar.gz
| Download URL | imouapi-1.0.15.tar.gz |
|---|---|
| Size | 33.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeb4207f61d07e2d658a5a20f90bcf247c7134fbb8085cee5a9a0dc379bb113f
|
|
BLAKE2b-256 checksum How to use checksums |
cc721c8d2330f3edcdfcf9e5bdfc8ee17246cfbac804ca4c2c1e9cef5867c964
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / imouapi-1.0.15-py3-none-any.whl
| Download URL | imouapi-1.0.15-py3-none-any.whl |
|---|---|
| Size | 26.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e04daf0ff61513b33eafc7e9fc88227cb8cdf6a35fbe528634055fa0fc2437e7
|
|
BLAKE2b-256 checksum How to use checksums |
c15f126b6646741465323b2a055afb69dc26bd0e57f7983349fae703f09ac163
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|