prijsoog

Prijsoog compares prices for items in Dutch grocery stores.


Keywords
prijsoog
License
MIT
Install
pip install prijsoog==0.1.7

Documentation

https://raw.githubusercontent.com/PepijnBoers/prijsoog/master/assets/prijsoog.png

Prijsoog

https://codecov.io/gh/PepijnBoers/prijsoog/branch/master/graph/badge.svg?token=NN5DTM3M60 Documentation Status

This is a simple hobby project which main focus is to get familiar with webscraping, Sphinx documentation and PyPi deployment. I do not take any responsibility for possible site bans due to excessive page requests.

Prijsoog provides an easy-to-use api for retrieving product-price combinations for specific grocery items in Dutch supermarkets. You can pass a grocery-related query to Prijsoog's search functionality to obtain a supermarket-depended list of related grocery items. Prijsoog sends a GET request to a selected set of the biggest Dutch supermarkets, and retrieves the top N products most relevant for your query. In order to assure fair use of their server capacity, Prijsoog's defaults to a delay time of 5 seconds between queries.

Installation

Install the latest version of Prijsoog via Pypi:

pip install prijsoog

Quick Demo

See following example

import prijsoog

# Show Albert Heijn results for "kiwi"
AH = prijsoog.AhWatcher()
products = AH.search("kiwi")
print(products)

# Show Jumbo results for "kiwi"
Jumbo = prijsoog.JumboWatcher()
products = Jumbo.search("kiwi")
print(products)

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.