Giter Club home page Giter Club logo

grocy-dutch-supermarket's Introduction

Grocy dutch supermarkets product scraper

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 .

Getting started

  1. git clone [email protected]:PaulVerhoeven1/grocy-dutch-supermarket.git; cd grocy-dutch-supermarket
  2. pip3 install -r requirements.txt
  3. chmod +x *.py
  4. cp .env_example .env
  5. Edit the configration in the .env file.

How to use this script

Run the script with as argument the EAN / Barcode, example:

./jumbo-grocy.py 8710391936834
./ah-grocy.py 8710391936834

Todo

  • 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 and except blocks.
  • Creating a Dockerfile to run the script within a container.

grocy-dutch-supermarket's People

Contributors

baskraai avatar paulverhoeven1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

grocy-dutch-supermarket's Issues

grocy running on mamp pro (web)

Hello thank you for this beautiful 'plugin' for grocy - how ever I do not get it to work. I am a newby in this - running a Mac mini with MampPro and grocy running in web mode.
and must this program run on the same machine as grocy or may that be another on machine?
is there a manual of step by step how to implement the grocy dutch market? thank you. best regards Max

Working on the same project?

Hi Paul,

Just found your repository. Nice to see someone had the same idea as me. I'm working at the moment to import all orders from the PicNic supermarket. I was wondering if you would also like to contribute.

Do you also support loggedin Albert Heijn data? Because if you can scan your bonus card and see the stuff you bought, it will be automatically imported into Grocy.

My repository: https://github.com/koenieee/Grocy-Picnic

Kind regards,

Koen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.