makess successful API calls for ingredients and components