Great project!
I noticed the server currently covers the exercise and workout side of the wger API but none of the nutrition endpoints. Are there any plans to add diet/nutrition tools?
wger already exposes a full nutrition API (nutritionplan, meal, mealitem, nutritiondiary, ingredient, weightentry, etc.) that would enable use cases like:
- Ingredient search & lookup -- searching the food database, getting macros per 100 g, portion/weight-unit mappings
- Meal planning -- creating nutrition plans, adding meals and food items, getting aggregated macro breakdowns via nutritionplaninfo
- Consumption tracking -- logging what was actually eaten via the nutritiondiary endpoint, then comparing actuals vs. plan targets
- Body weight logging -- tracking weight over time via weightentry to correlate with diet
This would roughly add ~25 new tools covering the /api/v2/nutritionplan/, /api/v2/meal/, /api/v2/mealitem/, /api/v2/nutritiondiary/, /api/v2/ingredient/, /api/v2/ingredientinfo/, /api/v2/weightentry/, and /api/v2/ingredientweightunit/ endpoints.
Happy to contribute if this is something you'd accept PRs for.
Great project!
I noticed the server currently covers the exercise and workout side of the wger API but none of the nutrition endpoints. Are there any plans to add diet/nutrition tools?
wger already exposes a full nutrition API (nutritionplan, meal, mealitem, nutritiondiary, ingredient, weightentry, etc.) that would enable use cases like:
This would roughly add ~25 new tools covering the /api/v2/nutritionplan/, /api/v2/meal/, /api/v2/mealitem/, /api/v2/nutritiondiary/, /api/v2/ingredient/, /api/v2/ingredientinfo/, /api/v2/weightentry/, and /api/v2/ingredientweightunit/ endpoints.
Happy to contribute if this is something you'd accept PRs for.