mealpy
mealpy copied to clipboard
Order your meals on MealPal automatically!
mealpy
Reserve your meals on MealPal automatically, as soon as the kitchen opens. Never miss your favourite MealPal meals again!
Description
MealPal offers lunch and dinner subscriptions giving you access to the best restaurants for less than $6 per meal.
This script automates the ordering process by allowing you to specify your desired restaurant and pickup timing in advance. Just run the script before the MealPal kitchen opens at 5pm to get your order, and beat the competition to getting the meals from popular restaurants!
Installation
Install virtualenv with all required dependencies and activate it:
make venv
source venv/bin/activate
Quickstart
python -m mealpy --help
Reserve a meal
# python -m mealpy.py reserve RESTAURANT RESERVATION_TIME CITY
python -m mealpy reserve "Coast Poke Counter - Battery St." "12:15pm-12:30pm" "San Francisco"
Files
Configuration
Upon the first run, a config will be created in $XDG_CONFIG_HOME (~/.config/mealpy) from the template. You'll can override the default values.
Cookies
This script stores cookies created from initial login. This is how the script can rerun without re-asking every time. This can be found in $XDG_CACHE_HOME (~/.cache/mealpy).