IssueStatusApi 0.2.0

Install-Package IssueStatusApi -Version 0.2.0
dotnet add package IssueStatusApi --version 0.2.0
<PackageReference Include="IssueStatusApi" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IssueStatusApi --version 0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IssueStatusApi, 0.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install IssueStatusApi as a Cake Addin
#addin nuget:?package=IssueStatusApi&version=0.2.0

// Install IssueStatusApi as a Cake Tool
#tool nuget:?package=IssueStatusApi&version=0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

IssueStatusApi

This is a small library that uses the Github API (using Octokit.Net) to get status information of the format that Issue Status is able to parse and display. The information can be used to, for example, monitor changes of sites using this format automatically.

Usage

First, the IssueStatusApi.IssueStatus class has to be initialized. The constructor takes an optional (but recommended) API token. Without an API token, requests are limited to 60 per hour, with an API token the limit goes up to 5000 requests per hour. For public repositories, the token needs at least the scope public_repo.

var issueStatus = new IssueStatusApi.IssueStatus(GITHUB_API_TOKEN);

The status issues can be fetched with the following method.

var status = issueStatus.GetStatus(GITHUB_REPO_OWNER, GITHUB_REPO_NAME);

To produce a list of changed status issues (new/modified/deleted), use the following method on two Status objects.

var changes = IssueStatusApi.IssueStatus.CompareStatus(oldStatus, newStatus);
  • .NETStandard 2.0

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.0 106 10/2/2021
0.1.0 95 10/1/2021