eventbrite-sdk-javascript
eventbrite-sdk-javascript copied to clipboard
Way to access full request and response object
Current Behavior
In case of success, request function simply returns response body in JSON format.
Expected Behaviour
It should return response body and response headers. So that I have control whether to make next API call if limit is reached. The reason I am asking for this because your APIs return a very important header. x-rate-limit: token:..... 1/2000 reset=3600s, key:...... 1/2000 reset=3600s which is critical for not hitting API limit.
Your Environment
- Node version: 10.14.0
Thank you for the request. We agree with the need for this feature. We are looking into the most optimal way to implement this.