Unifi-python-api

Latest version: v0.2.3

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

Scan your dependencies

Page 9 of 15

1.1.46

- applied patches to update_switch_poe-mode.php as suggested by scrutinizer-ci.com
- placed warning that UniFI OS is not (yet) supported

1.1.45

- added function/method force_provision(), contributed by VWT-Dan
- added example update_switch_poe-mode.php, contributed by Kaltt

1.1.44

- added example script reconnect_client.php
- fixed typo in URL linking to UniFi section on the UI.com site
- add function/method reboot_cloudkey(), contributed by leonardogyn

1.1.43

- updated code and instructions for `set_guestlogin_settings()`, thanks to stoehrmark for reporting the issue
- added list_connected_users.php example, contributed by gahujipo
- added restart_device() which replaces restart_ap(), contributed by leonardogyn
- code styling cleanup across `Client.php`

1.1.42

* changed variable name $url to $path in custom_api_request() for consistency and clarity
* rearranged layout of Client.php
* added check to verify whether $ch is a resource
* renamed get_curl_obj() to get_curl_resource() to reflect the variable type it returns

Added the new functions/methods:
* set_super_mgmt_settings_base()
* set_super_smtp_settings_base()
* set_super_identity_settings_base()

1.1.41

- changed create_wlan function/method to not include passphrase in payload when security = "open" and passphrase = null
- fixed indentations in several places
- added custom_api_request() function/method which allows a programmer to issue custom API requests that may not yet be supported by this client (to be used with care!)
- added example demonstrating use of custom_api_request()
- removed repetitive code and optimized exec_curl() when creating the final payload, resulting in 10-20% performance increase and slightly lower memory consumption by PHP

Page 9 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.