How to handle mutiple API calls using javascript/jquery
- by James Privett
I need to build a service that will call multiple API's at the same time and then output the results on the page (Think of how a price comparison site works for example).
The idea being that as each API call completes the results are sent to the browser immediately and the page would get progressively bigger until all process are complete.
Because these API calls may take several seconds each to return I would like to do this via javascript/jquery in order to create a better user experience. I have never done anything like this before using javascript/jquery so I was wondering if there was any frameworks/advice that anyone would be willing to share.