How to list and download the contents of a GitHub repo in C#

added by DotNetKicks
6/27/2020 11:29:19 AM

546 Views

I recently needed to write some code in C# that could list the contents of a GitHub repository, and download the contents of specific files. There is actually a GitHub API, which means that this simple URL ( https://api.github.com/repos/markheath/azure-deploy-manage-containers/contents) can be used to list all the files in one of my GitHub repos.


0 comments