API Data Aggregation
API Data Aggregation in Unmeshed
In this video we walk you through an example use case of aggregating data from three services. Initially in sequence and optimizing it for parallel.
The use case:
Call the following endpoints
1. https://storefront-demo-api.unmeshed.com/api/reviews?skuId=SKU_ID
2. https://storefront-demo-api.unmeshed.com/api/recent?skuId=SKU_ID
3. https://storefront-demo-api.unmeshed.com/api/ymal?skuId=SKU_ID
Use Authorization: {{ secrets.api_key_product }}
Return them in the following shape:
{
"reviews" : ...,
"recent" : ...,
"youMayAlsoLike": ...
}