Skip to content

Release 0.1

Compare
Choose a tag to compare
@liebki liebki released this 13 May 08:53
· 4 commits to master since this release

How to use:

  1. Create an instance of the GithubNetClient class.
  2. Use the GetTrendItemsAsync method to retrieve a list of TrendItem objects representing trending repositories. You can optionally specify the loadTrendItemDetails parameter as true to load all the available details, but note that this process can be time-consuming as it crawls through each page.
  3. If needed, you can use the GetTrendItemDetailsAsync method to fetch additional details for a specific TrendItem object.
  4. Use the GetTopicUrlFromTopicName method to obtain the GitHub URL for a given topic.

The following methods are described in the text:

  • GetTrendItemsAsync: This method retrieves a list of TrendItem objects representing trending repositories. It returns the list asynchronously and can optionally load all available details if the loadTrendItemDetails parameter is set to true.

  • GetTrendItemDetailsAsync: This method fetches additional details for a specific TrendItem object. It is used when you need more information about a particular repository in the list of trending repositories obtained from GetTrendItemsAsync.

  • GetTopicUrlFromTopicName: This method allows you to obtain the GitHub URL for a given topic. It takes the topic name as input and returns the corresponding URL.