podio / podio-js

Official Podio JavaScript SDK for node and the browser
http://podio.github.io/podio-js/
MIT License
45 stars 49 forks source link

How do i access the rate limit information? #52

Closed corsacca closed 7 years ago

corsacca commented 7 years ago

I'm running into rate limit issues. I want to check the rate limit before making more calls

dmatteo commented 7 years ago

Hi @corsacca,

You can monitor your current status by examining two HTTP headers that are returned with each request you make:

X-Rate-Limit-Limit: The ceiling for the request you just made
X-Rate-Limit-Remaining: The number of requests you have left for the current 1 hour window

You cannot currently see when your rate limit counter is reset.

Source: https://developers.podio.com/index/limits