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

API Request Control with Rate Limit Consideration #430

Open
ynishimura opened this issue Oct 15, 2024 · 0 comments
Open

API Request Control with Rate Limit Consideration #430

ynishimura opened this issue Oct 15, 2024 · 0 comments

Comments

@ynishimura
Copy link

ynishimura commented Oct 15, 2024

Feature Description
I would like to request a feature that controls API requests by considering the rate limits imposed by the API provider. Specifically, I am looking for functionality similar to what is described in the Zenpy library documentation:

Zenpy Rate Limiting

Currently, the existing throttle functionality in src/clients/throttle.js does not take the API's rate limits into account. It would be beneficial if the throttle mechanism could be enhanced to handle rate limiting as per the official API documentation:

Zendesk API Rate Limits

Example Use Case

Implementing this feature would allow the client to automatically adjust API request rates based on the rate limit headers provided by the API, preventing potential request throttling or denial due to exceeding rate limits. This would improve the robustness and reliability of applications using this client.

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

1 participant