mealpy icon indicating copy to clipboard operation
mealpy copied to clipboard

Limit reserving to during restaurant open hours

Open ipwnponies opened this issue 5 years ago • 1 comments

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.

ipwnponies avatar May 05 '19 22:05 ipwnponies

This will require investigation to verify this hypothesis, which will require an user with active subscription.

ipwnponies avatar May 07 '19 02:05 ipwnponies