RateLimit

RateLimit

RateLimit allows users to query their rate-limit status

Constructor

new RateLimit(auth, apiBaseopt)

construct a RateLimit

Parameters:
Name Type Attributes Description
auth Requestable.auth

the credentials to authenticate to GitHub

apiBase string <optional>

the base Github API URL

Source:

Methods

getRateLimit(cbopt) → {Promise}

Query the current rate limit

Parameters:
Name Type Attributes Description
cb Requestable.callback <optional>

will receive the rate-limit data

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

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