Skip to content

Instantly share code, notes, and snippets.

@altrive
Last active August 29, 2015 13:55
Show Gist options
  • Save altrive/8747840 to your computer and use it in GitHub Desktop.
Save altrive/8747840 to your computer and use it in GitHub Desktop.
Sample code to get issue from GitHub repository using Octokit.net
Use-NuGetPackage Octokit -Verbose
#Get Issues from GitHub repositories
$client = New-Object Octokit.GitHubClient("PowerShellClient")
$task = $client.Issue.GetForRepository("altrive", "PSCodeAnalyzer")
#Show results
$task.Result | Out-GridView
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment