clearbit / clearbit-node

Node library for querying the Clearbit business intelligence APIs
https://clearbit.com/docs
MIT License
69 stars 35 forks source link

Get access to rate limit headers #40

Open pcothenet opened 5 years ago

pcothenet commented 5 years ago

(follow-up from #23).

The Clearbit API returns rate limit information inside the HTTP Headers. AFAIK: this SDK does not surface the header in the response. Is there a way to access those headers (e.g. to figure out the correct backoff) from node-clearbit or do we need to implement our own version to call the API directly and access the headers?

tommedema commented 4 years ago

This is much needed