NGitLab
is a .NET REST client implementation for the GitLab API.
Start by creating a GitLabClient
instance:
var client = new GitLabClient("https://mygitlab.example.com", "your_private_token");
Then use its properties. You can obtain the private token in your account page. You may want to create a custom user for the API usage.
For further info about the GitLab API, refer to the official documentation
Get it from nuget.org. You can simply install it using the dotnet
CLI:
dotnet add package NGitLab
- Install Docker on your machine
- It's recommended to use WSL version 2: https://docs.microsoft.com/en-us/windows/wsl/install-win10
- Executing tests under Linux requires PowerShell to be installed. (https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux)
Thanks to Scooletz for initiating the original project.