Skip to content

HaKDMoDz/csharp-github-api

 
 

Repository files navigation

No long maintained! Please see https://github.com/octokit/octokit.net

csharp-github-api - A CSharp library to access the GitHub API

About

This is a C# library for accessing GitHub's developer REST API. It uses the RestSharp REST client library for most of the heavy lifting.

This library is not an official Github product, is not supported or developed by Github, and all Github trademarks are their own.

Targets .NET 4.

Status

Barely does anything at the moment. I'm lazy. Started working on this off and on again. Send a pull request.

Running the tests

In order to successfully build and run the integration tests (which require an authenticated connection to github (i.e. quite a few of them)), you will need to create an App.Config file in the GitHubAPI.IntegrationTests project. Simply use the provided example as a starting point:

Just add your Github username and password. The file is in .gitignore, so you can't accidently commit it.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="username" value="example"/>
    <add key="password" value="password"/>
    <add key="token" value="abcedfg"/>
  </appSettings>
</configuration>

License

Licensed under the Apache License, Version 2.0, details included in the source.

Packages

No packages published

Languages

  • C# 100.0%