Skip to content

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

API client class v1.1.33

02 Oct 10:19
Compare
Choose a tag to compare
  • merged PR #28, thanks go to @jamieaitken
  • further cleanup to follow PSR-2 as much as possible
  • added stat_5minutes_gateway(), stat_hourly_gateway() and stat_daily_gateway() methods
  • added changes to ensure we always use lowercase MAC addresses in API routes and payload (we have seen several issues with controllers ignoring uppercase MAC addresses)

API client class v1.1.32

28 Aug 12:47
Compare
Choose a tag to compare
  • added stat_speedtest_results() method/function to collect results from scheduled speed tests
  • added list_backups() method/function to list auto backups

API client class v1.1.31

19 Aug 10:21
Compare
Choose a tag to compare

updated comments for stats-related methods/function to make clear start/end values must be provided in milliseconds
changed use of objects as payload input for json_encode, to associative arrays for consistency
added functions/methods for firewall groups: list_firewallgroups(), create_firewallgroup(), edit_firewallgroup(), delete_firewallgroup()
added checks for required boolean parameters

merged PR by @Warafux:
added edit_client_fixedip() function/method
added optional parameter to list_networkconf() to fetch config details for a specific network

clean up after resolving merge conflicts

API client class v1.1.30

02 Jul 13:09
Compare
Choose a tag to compare

added user/client device stats methods/functions:
stat_5minutes_user()
stat_hourly_user()
stat_daily_user()
added example to demonstrate use of these new functions

API client class v1.1.29

21 May 11:10
Compare
Choose a tag to compare

added unblock_list.php and block_list.php examples, contributed by @malcolmcif ( #20 )
added create_user() method/function
added forget_sta() method/function which is supported on controller version 5.9.* and higher

API client class v1.1.28

11 Apr 05:53
Compare
Choose a tag to compare

re-added the upgrade_device() function/method

API client class v1.1.27

10 Apr 13:28
Compare
Choose a tag to compare

added start_rolling_upgrade() and cancel_rolling_upgrade() methods/functions

API client class v1.1.26

30 Mar 12:00
Compare
Choose a tag to compare

added invite_admin() and revoke_admin() functions/methods

Finalised merge of PRs #10, #11, #12 and #13

24 Mar 09:51
Compare
Choose a tag to compare

General code cleanup (replace tabs by spaces, etc.)
Methods/functions added:

  • list_country_codes()
  • set_guestlogin_settings_base()
  • set_site_connectivity()
  • set_site_country()
  • set_site_guest_access()
  • set_site_locale()
  • set_site_mgmt()
  • set_site_name()
  • set_site_ntp()
  • set_site_snmp()
    Examples added:
  • ap_upgrade_firmware.php
  • site_provisioning_example
  • update_ac-iw_ports.php

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()