Code Monkey home page Code Monkey logo

prime-orders's Introduction

Prime Now Orders

The aim of this tool is to help creation of (repeated) orders on (Amazon) Prime Now.

The main premise is that households have more or less the same shopping list that they buy periodically.

Prime Now interface does not allow users to 'bulk import / copy' shopping list and add / remove items. It forces users to search for every single item and add them to the cart.

This (CLI) tools uses your "Order History" and allows you to copy (all items from) multiple previous orders into your cart.

From there using Prime Now app you are able to adjust quantities and checkout. Tool also allows you to empty your cart

Notes:

  • Prime Now allows maximum 50 unique items in your cart
  • Orders that are currently out of stock will not be added to your cart when you run the script

How to use this script

  • Install Python 3 (you have done that by now probably)
  • Install Chrome Webdriver
  • Add chromedriver installation directory to your PATH. This is optional, alternatively you can pass chromedriver as command line argument (--driverpath)
  • Install requirements obviously (pip install -r requirements)

Execute script

If you have set chromedriver in your PATH, run the script using

python prime_order.py USER PASS 

or, if you need to specify path to chromedriver

python prime_order.py USER PASS --driverpath /path/to/chromedriver

where USER and PASS are your Prime Now credentials.

Example (linux):

python prime_order.py [email protected] myPass --driverpath /usr/lib/chromium-browser/chromedriver

COLLABORATION, LICENSE, WARRANTY

  • If you like this and would like to see more features added let me know
  • if you would like to collaborate or have any suggestions I'd love to hear from you: sijanmilan at gmail
  • Use at your own risk

prime-orders's People

Contributors

sijanmilan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.