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

Expose or handle free API calls per minute limit and max IP in batch #16

Open
xpufx opened this issue Oct 7, 2020 · 0 comments
Open

Comments

@xpufx
Copy link

xpufx commented Oct 7, 2020

The free API has a limit of 15 calls per minute. It would be nice to either warn about or handle the limit somehow. I see it being errored here by looking at the status code but the api provides headers for number of retries remaining (X-Rl) and the amount of seconds left in the current minute (before the counter will reset) (X-Ttl).

Also I think the batch api accepts max 100 IPs in the list. That could be handled too.

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

1 participant