Unifi-Python-API icon indicating copy to clipboard operation
Unifi-Python-API copied to clipboard

Conversion of the Unifi Shell API to python3 using Requests and Re

Unifi-Python-API

Conversion of the Unifi Shell API to python3 using Requests and Re

Requirements:

  • Python 3.6
  • requests >= 2.18.4
  • typing >= 3.6.4

Aim

Deliver a "lightweight" easy to understand python api for the Unifi controller.
The api is based off the following:

Enhancements

  • Filter devices (regex)
  • Order devices by a key, defaults to '_id'

Credits

This Api is based on the work done by the following developers:

  • Unifi Shell API - https://dl.ubnt.com/unifi/5.7.23/unifi_sh_api
  • unifi-api by calmh - https://github.com/calmh/unifi-api
  • Unifi Api Browser by Art Of Wifi - https://github.com/Art-of-WiFi/UniFi-API-browser
  • Unifi Api Client by Art Of Wifi - https://github.com/Art-of-WiFi/UniFi-API-client