Giter VIP home page Giter VIP logo

imouapi's Introduction

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

imouapi's People

Contributors

user2684 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.