Giter VIP home page Giter VIP logo

ngitlab's Introduction

What is NGitLab?

NGitLab is a .NET REST client implementation of GitLab API with no external dependencies.

How can I learn it?

It's a wrap of REST api. Read the GitLab docs and start using by creating a GitLabClient instance:

var client =  GitLabClient.Connect("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.

Where can I get it?

Get it from NuGet. You can simply install it with the Package Manager console:

PM> Install-Package NGitLab

ngitlab's People

Contributors

michakfromparis avatar sadowskik avatar scooletz avatar

Watchers

 avatar  avatar  avatar

ngitlab's Issues

Wrong date parsing from response of single Commit details

When request a single commit detail to a Gitlab version 7.0.0 the following exception occurs

System.FormatException was unhandled
  HResult=-2146233033
  Message=Stringa non riconosciuta come valore DateTime valido.
  Source=mscorlib
  StackTrace:
       in System.DateTimeParse.ParseExactMultiple(String s, String[] formats, DateTimeFormatInfo dtfi, DateTimeStyles style)
       in System.DateTime.ParseExact(String s, String[] formats, IFormatProvider provider, DateTimeStyles style)
       in NGitLab.Impl.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type)
       in NGitLab.Impl.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type)
       in NGitLab.Impl.SimpleJson.DeserializeObject(String json, Type type, IJsonSerializerStrategy jsonSerializerStrategy)
       in NGitLab.Impl.SimpleJson.DeserializeObject[T](String json)
       in NGitLab.Impl.HttpRequestor.<>c__DisplayClass1`1.<To>b__0(Stream s)
       in NGitLab.Impl.HttpRequestor.Stream(String tailAPIUrl, Action`1 parser)
       in NGitLab.Impl.HttpRequestor.To[T](String tailAPIUrl)
       in NGitLab.Impl.RepositoryClient.GetCommit(Sha1 sha)
       in TestNGitLab.Program.Main(String[] args) in c:\users\alessio\documents\visual studio 2015\Projects\TestNGitLab\TestNGitLab\Program.cs:riga 31
       in System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       in System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       in Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       in System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.