Prijsoog compares prices for items in Dutch grocery stores.
Project description
Prijsoog
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)
Free software: MIT license
Documentation: https://prijsoog.readthedocs.io
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for prijsoog-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ccac584482a3b6cce97cab4c349262930d25d0efed06332835692c938cb4b14 |
|
MD5 | 405e6f8f803532dca95316f73446397d |
|
BLAKE2b-256 | 02a4d7d055823e8c7c79e1dccc370620b3382487b6b5ca5f699474e177dfbd2d |