keimdm / recipe-search

0 stars 1 forks source link

Cocktail Recipe API call function #3

Closed keimdm closed 1 year ago

keimdm commented 1 year ago

[ ] function receives temperature data from getWeather() function [ ] function uses simple system to determine if weather is hot or cold (>50F is hot, less is cold) [ ] if warm, do API call with "orange" as search (or other citrus fruit) (for MVP - this algorithm can be improved later) [ ] if cold, do API call with "cream or something [ ] pass data result to display function