Skip to content

Repsay/supermarket-mobile-api-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supermarket-connector

Supported Versions Version Downloads Status

Simple api-clients for different supermarket mobile apis.

from supermarket_connector.nl.albert_heijn import Client

ah_client = Client()

ah_categories = ah_client.categories.list()

ah_products_category = ah_client.products.list(ah_categories[1234])

ah_products_category[20198].details()

This api-client allows you to access all data find within the mobile api of the supermarket. This can be used to check prices, promotions or for instance alergies.

Installing

Supermarket-connector is available on PyPI:

python -m pip install supermarket-connector

Supermarket-connector is build for python 3.9+.

Current supermarkets connected

Currently it is not possible to connect to Lidl supermarket data due to the fact that they do not have a public api.

  • Dutch
    • Albert Heijn
    • Jumbo
    • Picnic
    • Aldi*
    • Plus**
    • Coop**

* Not all products have a price available
** Not all data is available for these supermarkets.

Features

  • List all categories
  • List sub-categories of category
  • Find category based on id or name
  • List all products
  • List products by category
  • Give details of product