completed the nutrition api call