From f34a4298e45e78baac6ec79c89476eee39f73738 Mon Sep 17 00:00:00 2001 From: Ehsan Mirsaeedi Date: Wed, 20 Jun 2018 08:32:12 -0400 Subject: [PATCH] Mentioning the reset time is based on UTC standard (#1819) --- docs/getting-started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 020fdf9647..a4e6f4bb96 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -89,7 +89,7 @@ var rateLimit = apiInfo?.RateLimit; var howManyRequestsCanIMakePerHour = rateLimit?.Limit; var howManyRequestsDoIHaveLeft = rateLimit?.Remaining; -var whenDoesTheLimitReset = rateLimit?.Reset; +var whenDoesTheLimitReset = rateLimit?.Reset; // UTC time ``` However, if in some cases you need to get the Rate Limit directly from Github, you should call `GitHubClient.Miscellaneous.GetRateLimits()`. @@ -107,14 +107,14 @@ var coreRateLimit = miscellaneousRateLimit.Resources.Core; var howManyCoreRequestsCanIMakePerHour = coreRateLimit.Limit; var howManyCoreRequestsDoIHaveLeft = coreRateLimit.Remaining; -var whenDoesTheCoreLimitReset = coreRateLimit.Reset; +var whenDoesTheCoreLimitReset = coreRateLimit.Reset; // UTC time // the "search" object provides your rate limit status for the Search API. var searchRateLimit = miscellaneousRateLimit.Resources.Search; var howManySearchRequestsCanIMakePerMinute = searchRateLimit.Limit; var howManySearchRequestsDoIHaveLeft = searchRateLimit.Remaining; -var whenDoesTheSearchLimitReset = searchRateLimit.Reset; +var whenDoesTheSearchLimitReset = searchRateLimit.Reset; // UTC time ``` An authenticated client will have a significantly higher limit than an anonymous client.