UniFi.NET
UniFi.NET
A typed .NET wrapper around Ubiquiti's UniFi APIs. It covers the local Network API (running on your Cloud Gateway, UDM, or self-hosted controller) and Ubiquiti's cloud Site Manager API.
What it covers
UniFi.Net.Network: clients, devices, networks, firewall rules, WLANs, port profiles, and the rest of the Network API surface
UniFi.Net.SiteManager: site enumeration and management across multiple controllers via Ubiquiti's cloud API
Models are typed, methods are async, and it plays nicely with IServiceCollection if you're using DI.
Why I built it
Honestly? I can't fully remember. I think the original idea was to get fine-grained control over firewall rules. It turned out the API didn't actually support firewall rules at the time, so the whole premise collapsed before I'd really started.
I built it anyway. It was a fun project.