Search

Search

Wrap the Search API

Constructor

Create a Search

Parameters:
Name Type Attributes Default Description
defaults Object

defaults for the search

auth Requestable.auth <optional>

information required to authenticate to Github

apiBase string <optional>
https://api.github.com

the base Github API URL

Source:

Methods

forCode(optionsopt, cbopt) → {Promise}

Search for code

Parameters:
Name Type Attributes Description
options Search.Params <optional>

additional parameters for the search

cb Requestable.callback <optional>

will receive the results of the search

Source:
See:
Returns:
  • the promise for the http request
Type
Promise

forIssues(optionsopt, cbopt) → {Promise}

Search for issues

Parameters:
Name Type Attributes Description
options Search.Params <optional>

additional parameters for the search

cb Requestable.callback <optional>

will receive the results of the search

Source:
See:
Returns:
  • the promise for the http request
Type
Promise

forRepositories(optionsopt, cbopt) → {Promise}

Search for repositories

Parameters:
Name Type Attributes Description
options Search.Params <optional>

additional parameters for the search

cb Requestable.callback <optional>

will receive the results of the search

Source:
See:
Returns:
  • the promise for the http request
Type
Promise

forUsers(optionsopt, cbopt) → {Promise}

Search for users

Parameters:
Name Type Attributes Description
options Search.Params <optional>

additional parameters for the search

cb Requestable.callback <optional>

will receive the results of the search

Source:
See:
Returns:
  • the promise for the http request
Type
Promise

Type Definitions

Params

Available search options

Type:
  • Object
Source:
See:

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy