Skip to content

Releases: Art-of-WiFi/UniFi-API-client

API client class v1.1.21

19 Oct 09:23
Compare
Choose a tag to compare
  • minor code clean up
  • added archive_alarm() function/method

API client class v1.1.20: fixed typo in list_known_rogueaps()

18 Oct 07:06
Compare
Choose a tag to compare

API client class v1.1.19: addition of several new functions/methods and minor code cleanup

18 Oct 06:29
Compare
Choose a tag to compare
  • 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

12 Oct 15:24
Compare
Choose a tag to compare
  • 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

10 Oct 07:41
Compare
Choose a tag to compare

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

06 Oct 10:53
Compare
Choose a tag to compare
  • 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/

14 Sep 10:18
Compare
Choose a tag to compare
  • 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

08 Sep 10:39
Compare
Choose a tag to compare
  • 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

06 Sep 15:14
Compare
Choose a tag to compare

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

05 Sep 11:04
Compare
Choose a tag to compare
v1.1.12

updated examples to use the composer autoloader