An app written in C#/XAML that uses two APIs: one to fetch recipes and one to calculate the macronutrients for that recipe.
Simple Recipe Finder App
C# · Web · Open Source
Source · 16 files
README.md
# How to use
To use the program simply type the name of a food you would like a recipe of.
This will bring up a menu under the search bar with the results (if there are any).
To open a recipe click on it, this will bring up a new tab with the details of that recipe.
These details are:
- Recipe name
- Ingredients
- Instructions (includes servings)
- Macronutrients (approx. total for all the ingredients):
- Fats
- Carbs
- Fibers
# APIs used
- https://api-ninjas.com/api/recipe
- https://api-ninjas.com/api/nutrition
# Used Frameworks
- Newtonsoft.Json
# Used sources (learning material)
- https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.whenall?view=net-8.0
- https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=net-8.0
- https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/lambda-expressions
- https://learn.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-language-quick-reference
- https://www.youtube.com/watch?v=oSeYvMEH7jc