Learn Courses My Dashboard

Multiple API Calls using For loop

Hello everyone,
Please I am looking to make multiple API calls changing a part of the URL with each request and append the result of each api call to an array. Does anyone know how I can go about this please. Thank you.

im not sure if its ideal to do that since API calls are built to be asynchronous and doing a “for” loop prevents that, you can try experimenting with onComplete or onLoad closures maybe it can point to the right direction