Skip to content

Solution to play around with the GitHub API using a .NET Core console application.

Notifications You must be signed in to change notification settings

caiolouro/github-api-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub API Playground

Nested README or like this or even like this

Summary

This is a code playground to communicate with the GitHub API using a .NET Core 3.x console application. The chosen IDE was Visual Studio Code and the package management was done with the .NET Core CLI.

You can learn how to make some basic requests to the GitHub API using a personal token, including how to work with response pagination. Also, this project uses the following .NET Core concepts: Services dependency injection, Options pattern and the Secret Manager.

How to Run the Application

  1. You must configure the Secret Manager tool to securely store your GitHub credentials locally, as explained here. The JSON file should specify the following keys: GitHubSettings:Username and GitHubSettings:Token;
  2. Edit the Program.cs file to write your desired logic, using the helper methods available in the GitHubApiClient class;
  3. Run the .NET Core application.

About

Solution to play around with the GitHub API using a .NET Core console application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages