Skip to main content

Library for controlling Imou devices by interacting with the Imou Life API.

Project description

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 appId and appSecret
  • 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 by ImouAPIClient to 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

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

imouapi-0.2.2.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

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

imouapi-0.2.2-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file imouapi-0.2.2.tar.gz.

File metadata

  • Download URL: imouapi-0.2.2.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for imouapi-0.2.2.tar.gz
Algorithm Hash digest
SHA256 05f2c76e64f26b65ac42ef6fb9f323ddc21c99d6df4196d25494fa3a6d6e9eef
MD5 78209b4169b0a8c40675324a3d24962a
BLAKE2b-256 5c3b7711c209756c02b3600c5d1a83d3eb1640021f821eb687c08738e9bc275d

See more details on using hashes here.

File details

Details for the file imouapi-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: imouapi-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for imouapi-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1317da3d32ec142e1d86ff5dbfa0601f597493b0d771bc203168eda0a6394176
MD5 25a97bc9e74c9b655db34ea04775ca12
BLAKE2b-256 0dac7dde755eb57c1a63eaea16f878e5a626f795f5b29725f9eaabc5f5aaa18e

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