Releases: Art-of-WiFi/UniFi-API-client
API client class v1.1.33
- 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
- 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
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
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
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
re-added the upgrade_device() function/method
API client class v1.1.27
added start_rolling_upgrade() and cancel_rolling_upgrade() methods/functions
API client class v1.1.26
added invite_admin() and revoke_admin() functions/methods
Finalised merge of PRs #10, #11, #12 and #13
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
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 ofget_last_results_raw()