mealpy
mealpy copied to clipboard
Limit reserving to during restaurant open hours
The schedules endpoint returns information for business hours. I think think this might be related to when the restaurant services mealpal orders:
The jsonpath is:
$.schedules[].restaurant.open
$.schedules[].restaurant.mpn_open
https://github.com/edmundmok/mealpy/blob/3d10eb6be23e73cd4ad85429574b78274ec83dbb/tests/mealpy_test.py#L223-L226
This can be useful to prevent user from reserving during closed times. Also can be added to list restaurants
command output, so the user will have information to set up valid argument inputs.
This will require investigation to verify this hypothesis, which will require an user with active subscription.