These are two Python script that connect with the dutch supermarket Jumbo.com or ah.nl. It uses the python package SupermarktConnector from Bart Machielsen for this. The scripts download the product information from the API's. It then post this information to Grocy .
git clone [email protected]:PaulVerhoeven1/grocy-dutch-supermarket.git; cd grocy-dutch-supermarket
pip3 install -r requirements.txt
chmod +x *.py
cp .env_example .env
- Edit the configration in the .env file.
Run the script with as argument the EAN / Barcode, example:
./jumbo-grocy.py 8710391936834
./ah-grocy.py 8710391936834
- Add the possiblity to use arguments with the script.
- Merging AH and Jumbo scripts into one file.
- Check if a product already exists within Grocy (based on EAN / Barcode)
- Getting more information from the Jumbo API Example
- Add logging.
- Add
try
andexcept
blocks. - Creating a Dockerfile to run the script within a container.