added
Python SDK: Introducing Rate Limit Management
8 months ago by Wafaa Kahoui
Our HrFlow.ai Python SDK has been updated to include rate-limit management.
😍 Why it’s a big deal for HrFlow.ai users?
Our users can now control the flow of requests to the Profile Parsing API Endpoint.
🔧 How does it work?
- Install the HrFlow.ai Python SDK using the command
pip install -U hrflow
orconda install hrflow -c conda-forge
. - Log in to the HrFlow.ai Portal at hrflow.ai/signin.
- Obtain your API key from developers.hrflow.ai/docs/api-authentication.
- Ensure the Profile Parsing API is enabled in your account
- Create a Source as described at developers.hrflow.ai/docs/connectors-source.
- Use the
add_file()
function from our Python SDK, providing the necessary arguments and specify the following parameters in the function:max_requests_per_minute
: Sets the maximum number of requests allowed per minute.min_sleep_per_request
: Specifies the minimum time interval, in seconds, between two consecutive requests.