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

Handle API rate-limiting in the client #60

Closed
davecap opened this issue Nov 7, 2014 · 1 comment
Closed

Handle API rate-limiting in the client #60

davecap opened this issue Nov 7, 2014 · 1 comment

Comments

@davecap
Copy link
Member

davecap commented Nov 7, 2014

The API will respond with 429 Too Many Requests when the client is rate-limited and a header Retry-After which contains the number of seconds to wait before retrying the request. The client should time.sleep(<Retry-After seconds>) and then retry the request.

@rocky
Copy link
Contributor

rocky commented Nov 20, 2014

Should be addressed in a91a2a1 or generally the feature/netrc branch.

@davecap davecap closed this as completed Nov 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants