Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

API and limit requests every tot seconds

Hello!

I'm new on Talend, and I'm new in this community. 

 

Nice to meet you all!!

 

I have an issue I would like to figure it out.

 

I'm using a tHttpRequest to call an API and collect some Json datas. The problem is that I can make a limited number of requests and then I have to wait 10-15 seconds, or the API will stops me.

Is it possible to schedule an API request every #seconds?

 

Thanks a lot!!

0683p000009MACn.png

 

Labels (3)
2 Replies
TRF
Champion II
Champion II

Hi,
You may start your job every x seconds depending on your scheduler capability to go under the minute or you can build an infinite loop in your job (probably with a clean exit door to be defined) and have a tSleep component to manage the desired delay between 2 API calls.
Hope this help.
Anonymous
Not applicable
Author

Hello TRF,

 

thanks a lot! 

 

I've solved the issue by using the tSleep you suggested to me plus the component tLoop, to iterate the scheduled tSleep.

I attach a screen of the Job flow.

 

Tnx!

0683p000009MACn.png


talend-api-call-time-sleep-loop.png