I am trying to fetch network data from a Google API.
With this api I need to make 3 different network requests (each having their own url). Each network request (except the 1st one) is dependent on one another (2nd request needs the 1st request data and the 3rd request needs 2nd request data and the 1st request data) because their url needs access to a property (an identifier) from the last request. Please note that all of these requests will come back with an array of items.
What is the best way to make all 3 of these network requests and store them into one large array or dictionary using Combine and SwiftUI?
Thank you for your help in advance.