mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 11:24:44 +00:00
How do we use the searchRepos
This commit is contained in:
+4
-1
@@ -117,9 +117,12 @@ var request = new SearchIssuesRequest("linux")
|
||||
|
||||
## Search Repositories
|
||||
|
||||
Finding repositories via various criteria.
|
||||
To search for repositories using Octokit you need to create a ```SearchRepositoriesRequest``` and populate it with the search criteria.
|
||||
|
||||
```csharp
|
||||
// Use your github client to search for repos by passing in a SearchRepositoriesRequest instance
|
||||
var result = githubClient.Search.SearchRepo(request);
|
||||
|
||||
// Initialize a new instance of the SearchRepositoriesRequest class
|
||||
var request = new SearchRepositoriesRequest();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user