This document describes how to control API call volume with block coding.
Function | Explanation | DataType | Default |
---|---|---|---|
capacity | Maximum number of tokens that can be created | int | - |
count | The number of tokens to create | int | - |
period | Token refresh cycle (second) | int | - |
key | key to manage the state of the token(null, string type) |