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-1.0.6.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

imouapi-1.0.6-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for imouapi-1.0.6.tar.gz
Algorithm Hash digest
SHA256 28c232a338309515f43cd58c4a5006ddeaff857bf5d5910f582a208dde4e08aa
MD5 c5a25600449cc01eae18c73f39971423
BLAKE2b-256 eccdf8e3a66a17a99fcb4e20b129dc798f4d8f839eee8e3b961c48538a3aa293

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for imouapi-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e8b7c72d450019da1ce909eadf6d64c3d90fb690551f2180ae83476daa8f0df4
MD5 eba6792a05f59a709725acd1be7d7914
BLAKE2b-256 8dd5f870b8023eae197b6acb87164fcb6d84c3633363f18d7d98541241e2d871

See more details on using hashes here.

Supported by

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