User-275943262 posted
Hello,
I want to try to make a website about paintings in Web Api.
Now I have found out that I need to do this :
1) first request to the api to get the ids of the paintings.
2) Get the ids out of the json request.
3) Use the ids to consume a second call to the api to get more info about the paiting.
4) Get the info that I need out of 3)
5) Use a 3th call to the api to get the url where a image can be found.
6) Get the url out of 5
Can I make this idea work.
Make 1 and 2 workable. As soon as I get the first id , use it to make step 3 - 6 work.
so a lot of data is recieved in parallel so the user does not have to wait till a page is schown on the browser.
And a second question is : Which data structure can I use the best to store the data of 10 paintings.