Skip to content

gavanfantom/pythonUnifiAPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python UnifiAPI implementation

Python3 port of UniFi-API-Browser API with small extensions

Usage:

from UnifiAPI.UnifiAPI import UnifiAPI
u = UnifiAPI(username='ubnt', password='UBNT', debug=True)
d = u.stat_sessions()
print (d['data'][0]['mac'])
d = u.stat_sta_sessions_latest(d['data'][0]['mac'])
print (d)
d = u.create_hotspot('myhottyspotty','myhottyspotty','note to note')
d = u.set_ap_wireless('5853dd90e4b03771018a974e', radio="ng", channel=7)
d = u.request_spectrumscan('80:2a:a8:55:55:58')    
d = u.list_hotspot2()
print(d)
d = u.add_wlanconf("SSIDexample", wlangroup_id="5853dc2ae4b03771018a9741")
print(d)

About

Python3 port of UniFi-API-Browser API with small extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy