An open API service indexing awesome lists of open source software.

https://github.com/aalok05/trendingrepoparser

.NET Standard library for getting Trending Repositories on GitHub
https://github.com/aalok05/trendingrepoparser

github netstandard netstandard20 trending

Last synced: 10 months ago
JSON representation

.NET Standard library for getting Trending Repositories on GitHub

Awesome Lists containing this project

README

          

# TrendingRepoParser
[![NuGet](https://img.shields.io/nuget/dt/TrendingRepoParser.svg)](https://www.nuget.org/packages/TrendingRepoParser)

A .NET Standard library that parses owner and repository name from GitHub Trending page.

Get it from NuGet

# Usage
You can get Today, Weekly and Monthly trending repositories.
```csharp
public enum TimeRange
{
TODAY, WEEKLY, MONTHLY
}
```
Just pass the `TimeRange` enum to `ExtractTrendingRepoNames` method
```csharp
await TrendingRepoParserService.ExtractTrendingRepoNames(TrendingRepoParserService.TimeRange.TODAY);
```
# Dependencies
* [HTML Agility Pack](https://www.nuget.org/packages/HtmlAgilityPack)