SearchService class

The SearchService handles communication with search related methods of the GitHub API.

API docs: https://developer.github.com/v3/search/

Inheritance

Constructors

SearchService(GitHub github)

Properties

github → GitHub
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

code(String query, {int? pages, int? perPage, String? language, String? filename, String? extension, String? user, String? org, String? repo, String? fork, String? path, String? size, bool inFile = true, bool inPath = false}) → Stream<CodeSearchResults>
Search through code for a given query. By default you will get all search results if you consume all events on the returned stream. To limit results, set the pages and perPage parameters.
issues(String query, {String? sort, int pages = 2}) → Stream<Issue>
Search for issues and pull-requests using query. Since the Search Rate Limit is small, this is a best effort implementation. API docs: https://developer.github.com/v3/search/#search-issues
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
repositories(String query, {String? sort, int pages = 2}) → Stream<Repository>
Search for repositories using query. Since the Search Rate Limit is small, this is a best effort implementation.
toString() → String
A string representation of this object.
inherited
users(String query, {String? sort, int pages = 2, int perPage = 30}) → Stream<User>
Search for users using query. Since the Search Rate Limit is small, this is a best effort implementation.

Operators

operator ==(Object other) → bool
The equality operator.
inherited