You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we need to call GetLastApiInfo() to get the status of our usage. This API uses the information from the last request it has sent. The problem with this approach is that in some cases we need to fetch this data from Github and the information which we have from the previous call is stale and not sufficient. What's the reasoning behind your implementation? If my argument is valid, can I send a pull request?
The text was updated successfully, but these errors were encountered:
Hi @mirsaeedi the reasoning is simply that the remaining API rate limit is returned in the response headers of all calls, so we may as well provide a mechanism to access that information :)
It would be awesome if you wanted to send a PR to implement the actual Rate Limit API though, then users can choose the method that is more appropriate for them 👍
Currently, we need to call GetLastApiInfo() to get the status of our usage. This API uses the information from the last request it has sent. The problem with this approach is that in some cases we need to fetch this data from Github and the information which we have from the previous call is stale and not sufficient. What's the reasoning behind your implementation? If my argument is valid, can I send a pull request?
The text was updated successfully, but these errors were encountered: