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

Uploaded Source

Built Distribution

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

imouapi-1.0.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: imouapi-1.0.2.tar.gz
  • Upload date:
  • Size: 22.0 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.2.tar.gz
Algorithm Hash digest
SHA256 fc00a88f9c9e5a74bf48967b41868f8f1aa3fbdbbe0c068cbdf6c028609874a3
MD5 9e3d3ee712fdaeaaa80b2239122388c9
BLAKE2b-256 b6cec111b0d591129aa0faa5bcc5455e14c8363413352d3ce00bb63665873a37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: imouapi-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fabfa405276a41dcb31e82b45f279f0ba6fca14320ecd2afd68304d7e9cc2e66
MD5 8981d6071aad5426bc254954dc845247
BLAKE2b-256 7bca93bdc33bf63922df06c7bd2737760de0a1d936ceb94ba9d03ca47db3ae3a

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