closeio / closeio-node

An Unofficial Close.io API wrapper for Node.js.
19 stars 18 forks source link

Return the same object as the Close CRM Rest APIs #33

Closed NoahAltit closed 1 year ago

NoahAltit commented 1 year ago

Instead of only returning the data array, return the whole object that is returned by Close. I need to use the rate-limit headers to determine what's the max number of requests allowed (within the current rate limit), the number of requests left and the time left until the rate limit resets. In short, I need the following headers: