Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit reserving to during restaurant open hours #39

Open
ipwnponies opened this issue May 5, 2019 · 1 comment
Open

Limit reserving to during restaurant open hours #39

ipwnponies opened this issue May 5, 2019 · 1 comment

Comments

@ipwnponies
Copy link
Collaborator

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

mealpy/tests/mealpy_test.py

Lines 223 to 226 in 3d10eb6

'open': '2019-04-01T00:00:00Z',
'close': '2019-04-01T00:00:00Z',
'mpn_open': '2019-04-01T00:00:00Z',
'mpn_close': '2019-04-01T00:00:00Z',

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant