Releases: Art-of-WiFi/UniFi-API-client
Releases · Art-of-WiFi/UniFi-API-client
API client class v1.1.21
- minor code clean up
- added archive_alarm() function/method
API client class v1.1.20: fixed typo in list_known_rogueaps()
fixed typo in list_known_rogueaps()
API client class v1.1.19: addition of several new functions/methods and minor code cleanup
- added list_known_rogueaps() function/method
- added stat_status() function/method
- added power_cycle_switch_port() function/method
API client class v1.1.18: code optimization, improved parameter validation and debug messages
- removed repetitive code (json_decode and $this>baseurl)
- added capture of JSON decoding errors when debug = true
- use intval() on function/method parameters which must be an integer
- further parameter validation/checks
API client class version v1.1.17
added new functions for 5-minutes stats and minor code cleanup:
- added stat_5minutes_site() method/function
- added stat_5minutes_aps() method/function
- added optional parameter to list_dashboard() method/function to allow fetching of 5minutes stats
minor code cleanup and various changes
- added a 6th parameter to the constructor to enable SSL cert verification, recommended for production environments
- added examples/change_wlan_password.php to demonstrate WLAN password/PSK change
- updated main README accordingly
various tweaks and addition of a connection testing script to examples/
- more relaxed handling of $site in set_site(), now we only issue an error message when provided (short) site name is probably incorrect and debug mode is true
- added test_connection.php, a command line script which can be used to quickly test the connection to your controller with various cURL options which you can quickly change
various changes and additions
- IMPORTANT CHANGE: renamed all functions/methods named add_() to create_()
- improved data validation
- modified several existing methods/functions to leverage REST endpoints
- added create_network() method/function
- added set_networksettings_base() method/function
- added delete_network() method/function
- added list_radius_profiles() method/function
- added create_radius_account() method/function
- added set_radius_account_base() method/function
- added delete_radius_account() method/function
API client class version v1.1.13
various improvements and additions:
- changed all public properties to private properties
- added getter/setter for site property
- modified the constructor to be more robust
- added check for the existence of the curl module
- added method/function set_wlansettings_base() which uses REST and is now leveraged by several other methods/functions
- added method/function set_wlan_mac_filter()
updated examples to use the composer autoloader
v1.1.12 updated examples to use the composer autoloader