{"id":47356620,"url":"https://github.com/schwoi/UnifiClient","last_synced_at":"2026-04-01T07:00:51.677Z","repository":{"id":40855414,"uuid":"144812873","full_name":"schwoi/UnifiClient","owner":"schwoi","description":".NET Standard wrapper library for the Ubiquiti Unifi Controller","archived":false,"fork":false,"pushed_at":"2024-11-03T10:54:43.000Z","size":138,"stargazers_count":18,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-01T04:07:31.227Z","etag":null,"topics":["api","client","controller","netstandard","ubiquiti","ubnt","unifi"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schwoi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-15T06:10:50.000Z","updated_at":"2025-06-16T13:07:14.000Z","dependencies_parsed_at":"2023-01-24T21:15:29.137Z","dependency_job_id":null,"html_url":"https://github.com/schwoi/UnifiClient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/schwoi/UnifiClient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwoi%2FUnifiClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwoi%2FUnifiClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwoi%2FUnifiClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwoi%2FUnifiClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schwoi","download_url":"https://codeload.github.com/schwoi/UnifiClient/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schwoi%2FUnifiClient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31269183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T06:57:45.811Z","status":"ssl_error","status_checked_at":"2026-04-01T06:57:42.389Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","client","controller","netstandard","ubiquiti","ubnt","unifi"],"created_at":"2026-03-18T03:00:18.691Z","updated_at":"2026-04-01T07:00:51.669Z","avatar_url":"https://github.com/schwoi.png","language":"C#","funding_links":[],"categories":["API Libraries"],"sub_categories":[".NET / C#"],"readme":"## UniFi Controller API client class\n\nA .NET Standard library that provides access to Ubiquiti's **UniFi Controller API**, versions 4.X.X and 5.X.X of the UniFi Controller software are supported.\n\n## Wrapper Usage\n\n```csharp\n//get all clients on the default site\nusing (var unifiClient = new Client(\"https://demo.ubnt.com/\"))\n{\n    await unifiClient.LoginAsync(\"superuser\", \"password\");\n    var result = await unifiClient.ListAllClientsAsync();\n}\n\n//get all clients on the default site ignoring invalid certifiate\nusing (var unifiClient = new Client(\"https://localhost:8443/\", null, true))\n{\n    await unifiClient.LoginAsync(\"superuser\", \"password\");\n    var result = await unifiClient.ListAllClientsAsync();\n}\n\n//get change site\nusing (var unifiClient = new Client(\"https://localhost:8443/\", null, true))\n{\n    await unifiClient.LoginAsync(\"superuser\", \"password\");\n    var siteList = await unifiClient.ListSitesAsync();\n\n\tunifiClient.Site = result.siteList.FirstOrDefault(x =\u003e x.Name != \"default\")?.Name;\n\t\n\tvar result = await unifiClient.ListAllClientsAsync();\n}\n\n//get all clients by setting the site in the call\nusing (var unifiClient = new Client(\"https://localhost:8443/\", null, true))\n{\n    await unifiClient.LoginAsync(\"superuser\", \"password\");\n    var siteList = await unifiClient.ListSitesAsync();\n\n\tforeach(var site in result.siteList)\n\t{\n\t\tvar result = await unifiClient.ListAllClientsAsync(site.Name);\n\t}\n}\n\n//Set site on connection\nusing (var unifiClient = new Client(\"https://localhost:8443/\", \"abc123\", true))\n{\n}\n```\n\n## Methods and functions supported\n\nCurrently this library supports the following methods.\n - Login\n - Logout\n - GetControllerStatus\n - ListCountryCodes\n - GetSystemInfo\n - ListSites\n - ListSiteAdmins\n - ListSitesStats\n - ListSiteSettings\n - ListAllAdmins\n - CreateSite\n - RenameSite\n - SetSiteCountry\n - SetSiteLocale\n - SetSiteSnmp\n - SetSiteManagement\n - SetSiteGuestAccess\n - SetSiteNtp\n - SetSiteConnectivity\n - DeleteSite\n - AuthorizeGuest\n - UnauthorizeGuest\n - ExtendGuest\n - ListGuests\n - ClientDetail\n - BlockClient\n - ForgetClient (Alias of ForgetClients)\n - ForgetClients\n - UnblockClient\n - ResetClientConnection\n - ShowClientLogins\n - ListOnlineClients\n - ListAllClients\n - ListKnownClients\n - AddClientNote (Alias of SetClientNote)\n - RemoveClientNote (Alias of SetClientNote)\n - SetClientNote\n - CreateUserGroup\n - DeleteUserGroup\n - UpdateUserGroup\n - AssignClientToUserGroup\n - ListUserGroups\n - CreateFirewallGroup\n - UpdateFirewallGroup\n - DeleteFirewallGroup\n - ListFirewallGroups\n - ListDevices\n - ListDeviceTags\n - ListRougeAp\n - ListKnownRougeAp\n - AdoptDevice\n - RestartDevice\n - RenameDevice\n - DisableAp\n - OverrideLed\n - LocateDevice\n - SiteLeds\n - ListBackups\n - CreateVoucher\n - RevokeVoucher\n - ListVouchers\n - ListWLans\n - CreateWLan\n - DeleteWLan\n - DisableWLan\n - EnableWLan\n - ChangeWLanSSID\n - ChangeWLanPassphrase\n - ListNetworks\n\n\n## Install\nNuget: https://www.nuget.org/packages/UnifiApi/\n\nInstall-Package UnifiApi \n\n## Requirements\n\nNewtonsoft.Json\n\n## Credits\n\nThis class is based on the work done by the following developers:\n- Art of Wifi: https://github.com/Art-of-WiFi/UniFi-API-client/\n- domwo: http://community.ubnt.com/t5/UniFi-Wireless/little-php-class-for-unifi-api/m-p/603051\n- fbagnol: https://github.com/fbagnol/class.unifi.php\n- and the API as published by Ubiquiti: https://dl.ubnt.com/unifi/5.8.24/unifi_sh_api\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschwoi%2FUnifiClient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschwoi%2FUnifiClient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschwoi%2FUnifiClient/lists"}