Skip to content

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

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

fixed typo in composer.json

05 Sep 10:59
Compare
Choose a tag to compare
v1.1.11

fixed typo in composer.json

decreased required PHP version in composer.json

05 Sep 10:26
Compare
Choose a tag to compare
v1.1.10

modified the required PHP version in composer.json

initial release independant of the API browser tool, v1.1.9

05 Sep 09:58
Compare
Choose a tag to compare