View Source GitHub.RateLimit (GitHub REST API Client v0.0.13)

Provides API endpoint, struct, and type related to rate limit

Link to this section Summary

Functions

Get rate limit status for the authenticated user

Link to this section Types

@type t() :: %GitHub.RateLimit{
  __info__: map(),
  limit: integer(),
  remaining: integer(),
  reset: integer(),
  used: integer()
}

Link to this section Functions

@spec get(keyword()) ::
  {:ok, GitHub.RateLimit.Overview.t()} | {:error, GitHub.Error.t()}

Get rate limit status for the authenticated user

resources

Resources