Imouapi

Latest version: v1.0.15

Safety actively analyzes 683530 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

0.2.0

Added
- `get_sensor_by_name()` and `get_all_sensors()` added to `ImouDevice` class
Changed
- `ImouDiscoverService` and `ImouDevice` now take an instance of `ImouAPIClient` to initialize
- In `ImouDiscoverService` and `ImouDevice`, moved `base_url` and `timeout` from constructor to function `set_base_url()` and `set_timeout()`
- There is no more concept of supported switches, all of those discovered, are made available and can be controlled
- Sensors' icons moved out of the this library since not applicable in this context
- `ImouDevice` `get_sensors()` renamed in `get_sensors_by_platform()`
- If connection failes, multiple retries are done
- Partial refactoring of the code
Removed
- `async_connect()` from both `ImouDevice` and `ImouDiscoverService`. Connection takes place at the first API call

0.1.5

Added
- ImouAPIClient.log_http_requests() for enabling http request/response logging (off by default)
- If http logging is enabled, log messages are redacted from sensitive information
- ImouAPIClient.redact_log_message() for enabling log redaction (on by default)
Changed
- Moved info logs into debug level
- By default, with debug level, no more logging HTTP requests and responses

0.1.4

Added
- Github workflow to publish on PyPI
Changed
- Updated documentation

0.1.3

Changed
- API base URL and API timeout are not optional parameters and can be provided by the user
- Updated CLI, added logging level
- Updated documentation

0.1.2

Changed
- Re-organized the file structure
- Updated documentation

0.1.1

Added
- First development release

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.