You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,23 @@ The optional `options` argument can be used to override the default options. The
25
25
}
26
26
```
27
27
28
+
## Properties
29
+
30
+
### apiCallRate
31
+
32
+
Gives the current rate per minute of API calls. The property is read only.
33
+
It can be used by applications to limit the API call rate to prevent HTTP error code `429` (too many requests) responses from Luno server.
34
+
See Luno API documentation for applicable rate limitations: https://www.luno.com/en/developers/api#tag/Rate-Limiting
35
+
36
+
> API calls which result in error code `429` or `ErrTooManyRequests` are considered failed/unprocessed server request and are not added to the `apiCallRate` counter
37
+
38
+
Example:
39
+
40
+
```javascript
41
+
console.log(bitx.apiCallRate)
42
+
```
43
+
44
+
28
45
## Methods
29
46
For details about the API endpoints see https://www.luno.com/en/developers/api.
0 commit comments