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
- Host: GitHub
- URL: https://github.com/aalok05/trendingrepoparser
- Owner: aalok05
- License: mit
- Created: 2017-12-09T09:28:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-04T12:12:27.000Z (about 8 years ago)
- Last Synced: 2024-04-28T19:03:06.400Z (almost 2 years ago)
- Topics: github, netstandard, netstandard20, trending
- Language: C#
- Size: 20.5 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# TrendingRepoParser
[](https://www.nuget.org/packages/TrendingRepoParser)
A .NET Standard library that parses owner and repository name from GitHub Trending page.
# 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)
