skywalkah / recipe-patch

Search for recipes based on a specific cuisine or ingredients. Once you like a recipe, add the ingredients to a shopping list and get directions to the nearest grocery store.
MIT License
0 stars 2 forks source link

get authentication to use API to EDAMAM #3

Open anicrob opened 1 year ago

anicrob commented 1 year ago

part of this user story:

AS a Recipe Patch app user, I WANT to search for recipes by an ingredient(s) SO THAT I can make something with what I already have or I can plan my shopping list accordingly.

for this task, here are the AC:

GIVEN we need access to the EDAMAM API, WHEN we make a fetch call THEN have a method in place (API key, OAuth, etc) to retrieve a response/data.

skywalkah commented 1 year ago

Api

e41259e3d7fb623e3d9f28d013204d49

App ID

73cef5af

https://api.edamam.com/api/recipes/v2?type=public&q={**query**}&app_id={**appID**}&app_key={**API**}&cuisineType={**Italian**}&mealType={**Dinner**}&imageSize={**LARGE**}&field=uri&field=ingredients

mealType

Breakfast Lunch Dinner


cuisineType

American Chinese Italian Mexican

imageSize

LARGE REGULAR SMALL THUMBNAIL