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

Add RateLimitingCallsMade to LastRequestInfo ("x-ratelimit") #225

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bosquig
Copy link

@bosquig bosquig commented Aug 22, 2024

Hi,

In the docs https://docs.mangopay.com/api-reference/overview/rate-limiting, it is stated that :
x-ratelimit indicates the number of API calls you have made.

But we don't have this info in the LastRequestInfo, so this is PR is addressing it.

Also, "X-RateLimit-Limit" (RateLimitingCallsAllowed) doesn't seem to be returned in headers and isn't stated in the rate-limiting docs. It might be better to just remove this property from the SDK.

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

Successfully merging this pull request may close these issues.

1 participant