Amazon products add to cart automatically with this simple python code

Have you felt a need to buy products on Amazon automatically during flash sales etc. If yes then you are in right place

We can use datakund library to add the product to cart whenever you find the price dropped or the product becomes available to add in cart etc. Here are the steps to follow with code:-

  1. Install datakund
pip install datakund

2. Import datakund

from datakund.datakund import *

3. First you need to login to amazon. You can see login in detail here.

amazon.login(password='password', email='email')

4. Now we will add the product to cart when the product price drops.