Closed Hoffelhas closed 4 months ago
All of the APIs have parameters to filter results.
How would I do this exactly? If I e.g. select the 'from date'/'to date', it gives me a 400 error, since it also requires the recipe name and meal type.
Meal type makes sense, but the goal is to eventually obtain the recipe name from the API, which is now required as input for the filter.
How are you constructing the url?
Is your feature request related to a problem? Please describe.
I'm looking for a way to extract what recipe is planned for 'today' through the API. Going to 'https://tandoor.bks110.nl/api/meal-plan/' however only gives a total overview of everything in the meal-plan. The software (Homepage docker) reading the API callback on my end isn't able to do any required filtering, which means I'm not able to isolate what recipe is planned for 'today'.
Describe the solution you'd like
Ideally I would like to use an API endpoint like 'meal-plan-today', which gives a similar result as 'meal-plan' but limited to the results from today.