Movatterモバイル変換


[0]ホーム

URL:


RateLimit

RateLimit

RateLimit allows users to query their rate-limit status

Constructor

new RateLimit(auth, apiBaseopt)

construct a RateLimit

Parameters:
NameTypeAttributesDescription
authRequestable.auth

the credentials to authenticate to GitHub

apiBasestring <optional>

the base Github API URL

Source:

Methods

getRateLimit(cbopt) → {Promise}

Query the current rate limit

Parameters:
NameTypeAttributesDescription
cbRequestable.callback <optional>

will receive the rate-limit data

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


[8]ページ先頭

©2009-2025 Movatter.jp