Code Monkey home page Code Monkey logo

walmart-inventory-lookup's Introduction

walmart-inventory-lookup

Description

Little python command-line tool to check a given product stock in some walmart stores.

Installation

Usage

walmart_inventory_lookup.py [-h] --upc UPC [--sku SKU] [--item_id ITEM_ID] --stores STORES [STORES ...] [--repeat MINUTE]

arguments:

  • -h, --help : show this help message and exit
  • --upc UPC : UPC number of item
  • --sku SKU : sku number of item
  • --item_id ITEM_ID : ID number of item
  • --stores STORES [STORES ...] : Space separated store ids from which to check stock. Ex: --stores 3007 3008. Also accepts files, each stores ids in the file should be on a separate line.
  • --repeat MINUTE : repeat the query every MINUTE minute

Examples

  • SNES mini classic inventory lookup
    • python walmart_inventory_lookup.py --sku 6000197536050 --item_id 6000197536049 --upc 4549659075 --stores 3008 5777 1208
  • SNES mini classic inventory lookup using a file
    • python walmart_inventory_lookup.py --sku 6000197536050 --item_id 6000197536049 --upc 4549659075 --stores @stores.txt
  • SNES mini classic inventory lookup which will be repeated every 10 minutes
    • python walmart_inventory_lookup.py --sku 6000197536050 --item_id 6000197536049 --upc 4549659075 --stores @stores.txt --repeat 10

walmart-inventory-lookup's People

Contributors

rodobros avatar parlarjb 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.