Skip to main content

Prijsoog compares prices for items in Dutch grocery stores.

Project description

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

Prijsoog

https://img.shields.io/pypi/v/prijsoog.svg 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.

History

0.1.5-0.1.7 (2021-10-16)

  • Fix PyPi deployment

0.1.1-0.1.4 (2021-10-15)

  • Teething problems

  • Automatic PyPI deployment

0.1.0 (2021-10-10)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prijsoog-0.1.7.tar.gz (12.5 kB view hashes)

Uploaded Source

Built Distribution

prijsoog-0.1.7-py2.py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page