Python script to order coffee from happymug.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Graham Helton d5170fd4b7 Added input handeling system in case someone actually wants to use this... 3 years ago
README.md Added silent mode 3 years ago
example.gif Added example gif and cleaned up some code 3 years ago
happySnake.py Added input handeling system in case someone actually wants to use this... 3 years ago

README.md

What is this?

HappySnake is a tool I created to quickly order coffee from https://www.happymugcoffee.com. I mostly made this to help me learn python so don't expect it to be effecient (or even a very good idea... It's probably not wise to buy things using a script unless you really know what you're doing but oh well.)

Requirements

pip3 install selenium colorama

Usage

To run simple create a file called config.json in the directory above where you installed the tool (Please don't put a config.json in a git directory...). I recommend not testing with real info until you're sure this behaves how you expect it to.

Silent mode

Runs firefox in headless mode. (Does not open the browser)

python3 happySnake.py -s

Example