Release 0.1
How to use:
- Create an instance of the
GithubNetClient
class. - Use the
GetTrendItemsAsync
method to retrieve a list ofTrendItem
objects representing trending repositories. You can optionally specify theloadTrendItemDetails
parameter astrue
to load all the available details, but note that this process can be time-consuming as it crawls through each page. - If needed, you can use the
GetTrendItemDetailsAsync
method to fetch additional details for a specificTrendItem
object. - 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 ofTrendItem
objects representing trending repositories. It returns the list asynchronously and can optionally load all available details if theloadTrendItemDetails
parameter is set totrue
. -
GetTrendItemDetailsAsync
: This method fetches additional details for a specificTrendItem
object. It is used when you need more information about a particular repository in the list of trending repositories obtained fromGetTrendItemsAsync
. -
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.