Skip to content

Get email alerts for delivery slots in BigBasket

Notifications You must be signed in to change notification settings

saubhik/bb-slotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bb-slotter

Get email alerts for delivery slots in BB 📧 🕶️

Easily extensible to:

  • support multiple email recipients
  • support multiple cities and pin codes

For more details on hosting the app, read here.

bb-slotter in action

Docker container running in AWS EC2 instance:

image-20200413092518550

Email alert example

image-20200412122335908

Building image

These environment variables must be present while building the (executable) docker image using make build.

FROM_ADDR=...
EMAIL_PASSWORD=...
URL=https://www.bigbasket.com/pd/241600/tata-salt--iodized-1-kg-pouch/

Also, before building image, subscribers.json file is required. Please note that the area string should be exactly as in one of BigBasket's auto-suggestions in the drop down. Note that email can also be a list of strings.

Example:

[
  {
    "city": "xyz1",
    "area": "xyz1",
    "email": "xyz1@abc.com"
  },
  {
    "city": "xyz2",
    "area": "xyz2",
    "email": ["xyz2@abc.com", "xyz3@abc.com"]
  }
]

Running the image

make run

Disclaimer

For educational purposes. BigBasket T&C here.