KoenZomers.UniFi.Api
1.0.1
See the version list below for details.
dotnet add package KoenZomers.UniFi.Api --version 1.0.1
NuGet\Install-Package KoenZomers.UniFi.Api -Version 1.0.1
<PackageReference Include="KoenZomers.UniFi.Api" Version="1.0.1" />
paket add KoenZomers.UniFi.Api --version 1.0.1
#r "nuget: KoenZomers.UniFi.Api, 1.0.1"
// Install KoenZomers.UniFi.Api as a Cake Addin #addin nuget:?package=KoenZomers.UniFi.Api&version=1.0.1 // Install KoenZomers.UniFi.Api as a Cake Tool #tool nuget:?package=KoenZomers.UniFi.Api&version=1.0.1
API which allows data to be retrieved and used from an Ubiquiti UniFi on premises controller in your own applications
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
- Newtonsoft.Json (>= 10.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.11 | 5,435 | 7/13/2021 |
1.1.10.1 | 382 | 7/13/2021 |
1.1.10 | 423 | 6/7/2021 |
1.1.9 | 486 | 2/1/2021 |
1.1.8 | 492 | 11/16/2020 |
1.1.7 | 1,273 | 7/22/2019 |
1.1.6 | 563 | 7/21/2019 |
1.1.5 | 707 | 6/30/2019 |
1.1.4 | 686 | 5/7/2019 |
1.1.3 | 665 | 5/5/2019 |
1.1.2 | 696 | 4/4/2019 |
1.1.1 | 582 | 4/3/2019 |
1.1.0 | 787 | 1/15/2019 |
1.0.2 | 834 | 9/26/2018 |
1.0.1.1 | 800 | 9/14/2018 |
1.0.1 | 810 | 9/14/2018 |
1.0.0.1 | 1,157 | 3/28/2017 |
1.0.0 | 933 | 3/28/2017 |
- Added some inline code comments to the Clients model. Still needs more work to get all properties provided with comments.
- Added PostRequest to the HttpUtility which can be used to request a change to UniFi
- Added GetAllCookies to the HttpUtility which allows extracting the cookies from the cookie container. This is required as UniFi demands the cross site request forgery token stored in the cookie to be passed through the custom X-Csrf-Token header on every HTTP Post.
- Added the XML documentation to the NuGet package so you will see the inline code comments in your own project as well
- Added method GetDevices which returns all UniFi devices
- Marked GetAccessPoints as obsolete as it didn't only retrieve the UniFi access points, but all UniFi devices so the naming was confusing
- Added method BlockClient which allows blocking a client from getting access to the UniFi network and UnblockClient to unblock a client. This sample can nicely be used as a sample of how to modify properties in UniFi.
- Added inline code comments to the Unit Tests to explain what each of them is testing for
- Added GetAllClients method which returns all clients known to UniFi, regardless if they're currently connected