package github

  1. Overview
  2. Docs

The Rate_limit module contains explicit rate limit API request functions which do not read the rate limit cache but do write to it.

val all : ?token:Token.t -> unit -> Github_t.rate_resources Monad.t

all () is the current token's rate limit information for all rate limiting regimes.

val for_core : ?token:Token.t -> unit -> Github_t.rate Monad.t

for_core () is the current token's rate limit information for the Core rate limit regime.

for_search () is the current token's rate limit information for the Search rate limit regime.

OCaml

Innovation. Community. Security.