This is the UniFi Controller API Client
Please see example.py for usage.
NOTE: that if you are using a UniFiOS console you need to set the "unifios" flag to True
Functions included:
- add_snmp()
- add_tag()
- adopt_device()
- authorize_guest()
- create_network()
- create_site()
- create_usergroup()
- create_wlan()
- delete_device()
- delete_site()
- delete_usergroup()
- delete_wlanconf()
- force_provision()
- get_settings()
- init_controller()
- invite_admin()
- list_adoptable()
- list_ccode()
- list_clients()
- list_dashboard()
- list_device()
- list_devices()
- list_health()
- list_settings()
- list_sites()
- list_usergroup()
- list_wlanconf()
- list_wlangroup()
- login()
- logout()
- move_device()
- rename_device()
- status_controller()
- testing()
- unauthorize_guest()
- update_country()
- update_locale()
- update_mgmt()
- update_sitename()
- update_wlan(Note: use list_wlanconf() first to build the payload)
- upgrade_device()