Skip to content

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

merge PR and added several examples

01 Feb 16:18
Compare
Choose a tag to compare

merged in PR #7
added examples:

  • create site
  • delete site
  • modify WLAN settings for controller version 5.5.X and higher using the set_device_settings_base() method, also demonstrates the use of get_last_results_raw()

API client class v1.1.23

26 Oct 15:09
Compare
Choose a tag to compare
  • minor code cleanup and input validation/sanitization improvements
  • added delete_device() function/method
  • added move_device() function/method
  • added optional type parameter to stat_sessions()
  • updated README

API client class v1.1.22

19 Oct 09:56
Compare
Choose a tag to compare

fixed issue #2 caused by a typo with "if (in_array()...", thanks go to @LuFlo for catching that

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