Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limit information #37

Closed
dominicsayers opened this issue Apr 28, 2016 · 3 comments
Closed

Rate limit information #37

dominicsayers opened this issue Apr 28, 2016 · 3 comments

Comments

@dominicsayers
Copy link

I'm currently running into API rate limits during testing of my app. It would be really cool to be able to interrogate the Podio object for information about how many calls are left for a given API endpoint.

I believe this information could be gathered from the response headers as explained here: https://developers.podio.com/index/limits

@dominicsayers
Copy link
Author

Bump

@dmatteo
Copy link
Contributor

dmatteo commented Jul 26, 2016

Hi Dominic,

as you pointed out, you can get the remaining calls from the headers of the last API call you made, but we don't offer any other way of retrieving the remaining API calls left.

Unfortunately we also don't offer a "timer" for when your call limit will be reset (e.g. the hour limit)

@dmatteo dmatteo closed this as completed Jul 26, 2016
@dominicsayers
Copy link
Author

dominicsayers commented Jul 27, 2016

My point was: if you are using the gem you don't have access to the raw headers so you can't get at the rate limit usage without making a separate API call outside the gem framework.

So...it would be good if the Podio object exposed it since it has access to the information already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants