Book dinner at www.chuiyanxiaochu.com(炊烟小厨) for lazy guys like you. Writen in Python 3.x
git clone git@github.com:Chenimal/dinnerBooker.git
cd dinnerBook
git submodule update --init
crontab -e
:0 9 * * 1-5 export LANG="en_US.UTF-8"; /usr/local/bin/python /Users/chen/playground/dinnerBooker/autoBooker.py
- By sending POST request with data {did, teamid, token, name}
- Auto-select dish based upon the order of preference list. (one at the top is the favorite)
- Record new dishes
- The new dishes names would be added into preference file starting with '# '
- User could include new dishes by removing '# ' and re-rank them
- Which dish is booked
- New dishes in todays menu when they are not in preference list
- Error message if failed
To make it work in crontab, remember to add export LANG="en_US.UTF-8";
in front of command
- add
say
notification for Mac OSX - documenting
- compatible with linux