View Source GitHub.RateLimit (GitHub REST API Client v0.0.1-beta.0)

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{
  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