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.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
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.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 625e66d2f9cb2c9372b6e71f60d7fa8e3f4ff7b795b690870790133336eda884 |
|
MD5 | 8181d2fe8f3aabd387615653ab2e648e |
|
BLAKE2b-256 | bb200cfc2b0d6eba293ecb324ede04790b40f9c36e047ae9e1e9ef19451767b0 |