Skip to main content

Interact with hidden REST API of

Project description

Albert Heijn (unofficial) REST interface

New features are being added


pip install albert


Initalize API

import albert
ah = albert.Api("username","password")

Make an account on

Add product to cart


You can find products on I.e., By default, one item is added to cart if you dont pass the second parameter.



Empty cart


Save cart to list

ah.shopping_list_add("Name of List", empty_card=False)

Standard after calling shopping_list_add method, by Default, the items in your cart will remain. When passing the second argument as True, the items will get removed from your cart after saving the cart items to list.

Product Information

ah_product = albert.Product('wi60539/ah-scharrelei-advocaat')

pass the query without producten/product/ from a product as string argument to retrieve information from the product. Several items can be accessed:

  • id
  • name
  • brand
  • description
  • summary
  • unit_size
  • category
  • is_available
  • priceLabel
  • price_current
  • price_previous
  • is_discounted

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
albert-1.3.1.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page