All Projects → nmklotas → Gitlabapiclient

nmklotas / Gitlabapiclient

Licence: mit
GitLab API client

Projects that are alternatives of or similar to Gitlabapiclient

Gitlab Ci Dashboard
📊 Dashboard for monitoring GitLab CI builds and pipelines for TV
Stars: ✭ 79 (-42.75%)
Mutual labels:  ci, gitlab-ci, gitlab
Gitlab Ci Local
Tired of pushing to test your .gitlab-ci.yml?
Stars: ✭ 134 (-2.9%)
Mutual labels:  ci, gitlab-ci, gitlab
Kdtool
Kubernetes deployment utility
Stars: ✭ 47 (-65.94%)
Mutual labels:  ci, gitlab-ci, gitlab
Gitlab Ci Pipeline Php
☕️ Docker images for test PHP applications with Gitlab CI (or any other CI platform!)
Stars: ✭ 451 (+226.81%)
Mutual labels:  ci, gitlab-ci, gitlab
Gitlab Dashboard
📺 TV dashboard for a global view on Gitlab Pipelines
Stars: ✭ 107 (-22.46%)
Mutual labels:  ci, gitlab-ci, gitlab
Glci
🦊 Test your Gitlab CI Pipelines changes locally using Docker.
Stars: ✭ 471 (+241.3%)
Mutual labels:  ci, gitlab-ci, gitlab
Cimonitor
Displays CI statuses on a dashboard and triggers fun modules representing the status!
Stars: ✭ 34 (-75.36%)
Mutual labels:  ci, gitlab
Release Notary
App to just generate release notes.
Stars: ✭ 26 (-81.16%)
Mutual labels:  ci, gitlab
Kira
🐿 Project management framework with deep philosophy underneath
Stars: ✭ 61 (-55.8%)
Mutual labels:  gitlab-ci, gitlab
Crane
⬆ A GitLab CI ready image to upgrade services in Rancher
Stars: ✭ 90 (-34.78%)
Mutual labels:  gitlab-ci, gitlab
Lab
lab is a cli client of gitlab like hub
Stars: ✭ 94 (-31.88%)
Mutual labels:  gitlab-ci, gitlab
Ably Js
Javascript, Node, Typescript client library SDK for Ably realtime messaging service
Stars: ✭ 99 (-28.26%)
Mutual labels:  rest, client-library
Ably Go
Go client library SDK for Ably realtime messaging service
Stars: ✭ 29 (-78.99%)
Mutual labels:  rest, client-library
Lab
Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab
Stars: ✭ 911 (+560.14%)
Mutual labels:  gitlab-ci, gitlab
Go Gitlab Client
A Go gitlab API client & powerful CLI written in Go
Stars: ✭ 107 (-22.46%)
Mutual labels:  ci, gitlab
Semantic Release
📦🚀 semantic-release written in go
Stars: ✭ 113 (-18.12%)
Mutual labels:  gitlab-ci, gitlab
Danger
🚫 Stop saying "you forgot to …" in code review (in Ruby)
Stars: ✭ 4,691 (+3299.28%)
Mutual labels:  ci, gitlab
Git Webhook Ci
A Git (github/gitee) webhook callback server to do stuff e.g. fetch new code (poor man CI)
Stars: ✭ 118 (-14.49%)
Mutual labels:  ci, gitlab
Android Ci
A docker image for building Android apps. Supports multiple SDK Build Tools.
Stars: ✭ 101 (-26.81%)
Mutual labels:  ci, gitlab
Python Gitlab
Python wrapper for the GitLab API
Stars: ✭ 1,679 (+1116.67%)
Mutual labels:  gitlab, gitlab-ci

GitLabApiClient

GitHub Workflow Status NuGet

GitLabApiClient is a .NET rest client for GitLab API v4.

Main features

  • Targets .NET Standard 2.0
  • Fully async
  • Thread safe.
  • Multi core paging.
  • Simple and natural to use.
  • Handles URL encoding for you

Quick start

Authenticate

// if you have auth token:
var client =  new GitLabClient("https://gitlab.example.com", "your_private_token");
// if you want to use username & password:
var client =  new GitLabClient("https://gitlab.example.com");
await client.LoginAsync("username", "password");

Use it

// create a new issue.
await client.Issues.CreateAsync("group/project", new CreateIssueRequest("issue title"));

// list issues for a project  with specified assignee and labels.
await client.Issues.GetAsync("group/project", o => o.AssigneeId = 100 && o.Labels == new[] { "test-label" });

// create a new merge request featureBranch -> master.
await client.MergeRequests.CreateAsync("group/project", new CreateMergeRequest("featureBranch", "master", "Merge request title")
{
    Labels = new[] { "bugfix" },
    Description = "Implement feature"
});

// get a list of projects and find each project's README.
var projects = await Client.Projects.GetAsync();
foreach (var project in projects)
{
    var file = await Client.Files.GetAsync(project, filePath: "README.md", reference: project.DefaultBranch);
    var readme = file.ContentDecoded;
    // mad science goes here
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].