Skip to content

Commit

Permalink
various improvements and additions:
Browse files Browse the repository at this point in the history
- changed all public properties to private properties
- added getter/setter for site property
- modified the constructor to be more robust
- added check for existance of 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()
  • Loading branch information
malle-pietje committed Sep 6, 2017
1 parent b9067cd commit 34c0acf
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 89 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,11 @@ This class currently supports the following functions/methods to get/set data th
- stat_sysinfo()
- stat_voucher()

Internal functions:
Internal functions, getters/setters:
- set_debug()
- set_site()
- get_site()
- get_cookie() (renamed from getcookie())
- get_last_results_raw()
- get_last_error_message()

Expand Down Expand Up @@ -153,7 +156,5 @@ Please refer to the `examples` directory for some more detailed examples which y
>
>Here `jl3z2shm` is the value required for $site_id.
Have a look at the files in the `examples` directory for more examples how to use this class.

## Important Disclaimer
Many of these functions are not officially supported by UBNT and as such, may not be supported in future versions of the UniFi controller API.
Loading

0 comments on commit 34c0acf

Please sign in to comment.