This Python script tracks prices of multiple specific products on www.galaxus.ch and alerts the user via email if the prices reaches a defined alert price. The script can be automatised with cronjob or windows task scheduler to run every 24h.
Use the package manager pip and the provided requirements.txt file to install this script. This script is optimised for macOS and thus uses the keyring package to safely store and access necessary keys. Ignore if you use a different operating system.
pip install -r /path/to/requirements.txt
This script uses the Google API to send mail and thus credentials.json is needed to access the Google API. More information: https://developers.google.com/workspace/guides/create-credentials
- Download of all necessary files (main.py, requirements.txt, products.csv and credentials.json)
- Install necessary libraries on your local environment or virtual environment via the requirement.txt
- Get access to the Google API and fill in all necessary information into the products and credentials files
- Run application
- Use cronjob or other tools to automatise the process
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
This script uses the MIT License.