Skip to content
This repository has been archived by the owner on Dec 6, 2020. It is now read-only.
/ dash Public archive

🍲 DoorDash from your command line.

Notifications You must be signed in to change notification settings

n0shake/dash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Dash - Python Client to browse DoorDash from your command line

Disclaimer: I'm a huge DoorDash fan and this is purely an activity out of curiosity. This is a work in progress and I half-expect it to fail for certain input.

Screenshot

Link to Demo

Usage

Build the Dash.py using your credentials and follow steps to add items to your cart.

$ python Dash.py frodo.baggins16@yandex.com frodobaggins

Why

Ever since moving to the Bay Area, DoorDash has found a loyal customer in me. It's always fun reverse-engineering REST APIs; I also wanted to understand how DoorDash interacts with the Internet. Door Dash encrypts its network traffic using SSL, but this is really easy to get around using a simple Man-in-the-middle attack.

Design

Have been meaning to learn Python since quite some time, this gives me an opportunity to do that. Since this is a Python library, this is meant to be used in CLI environments. The API is really really rough around the edges, though I have tried to handle failing conditions gracefully.

Pre-requisites

You'll need an DoorDash account and DoorDash should be available at your location.

Features

  1. Browse restaurants based on your location and suggestion
  2. Check out the menu of the favorite restaurant
  3. Add items to the current cart

Using

  1. Authenticate to DoorDash using your credentials
  2. From the list of suggestions, select one (you can sort based on the rating, price, and the availability)
  3. A list of restaurants based on your suggestion will be displayed
  4. On selecting a restaurant, a menu will be displayed. Select the items you'll like to add to your cart, quantity, special instructions etc and you're set.

About

🍲 DoorDash from your command line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages