All Projects → Shmakov → kroger-cli

Shmakov / kroger-cli

Licence: other
Clip coupons and earn points at Kroger-owned grocery chains

Programming Languages

python
139335 projects - #7 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to kroger-cli

enketo-core
The engine that powers Enketo Tools - Use it to develop your own enketo-powered app.
Stars: ✭ 74 (-22.11%)
Mutual labels:  survey
puppeteer-email
Email automation driven by headless chrome.
Stars: ✭ 135 (+42.11%)
Mutual labels:  headless-chrome
RGBD-SODsurvey
RGB-D Salient Object Detection: A Survey
Stars: ✭ 171 (+80%)
Mutual labels:  survey
phantom-lord
Handy API for Headless Chromium
Stars: ✭ 24 (-74.74%)
Mutual labels:  headless-chrome
kathisto
📦 Server-side rendering for Javascript based web-apps
Stars: ✭ 17 (-82.11%)
Mutual labels:  headless-chrome
dockerfile
A collection of dockerfile I use
Stars: ✭ 90 (-5.26%)
Mutual labels:  headless-chrome
nest-puppeteer
Puppeteer (Headless Chrome) provider for Nest.js
Stars: ✭ 68 (-28.42%)
Mutual labels:  headless-chrome
samplics
Select, weight and analyze complex sample data
Stars: ✭ 24 (-74.74%)
Mutual labels:  survey
scf-headless-chrome
Headless chrome running on tencent serverless cloud function.
Stars: ✭ 28 (-70.53%)
Mutual labels:  headless-chrome
ng2-quiz
A general purpose quiz application developed in angular (updated to angular 8) that can be used for multiple purpose.
Stars: ✭ 90 (-5.26%)
Mutual labels:  survey
generateDeviceScreenshots
A simple command line tool to generate device screenshots of different webpages.
Stars: ✭ 69 (-27.37%)
Mutual labels:  headless-chrome
chrome-render
general server render base on headless chrome
Stars: ✭ 92 (-3.16%)
Mutual labels:  headless-chrome
clean-ts-api
API em NodeJs usando Typescript, TDD, Clean Architecture, Design Patterns e SOLID principles
Stars: ✭ 43 (-54.74%)
Mutual labels:  survey
node-headless-chrome
⚠️ 🚧 Install precompiled versions of the Chromium/Chrome headless shell using npm or yarn
Stars: ✭ 20 (-78.95%)
Mutual labels:  headless-chrome
stateofdev.ma
stateofdev.ma source code
Stars: ✭ 62 (-34.74%)
Mutual labels:  survey
laravel-browsershot
Browsershot wrapper for Laravel 5
Stars: ✭ 108 (+13.68%)
Mutual labels:  headless-chrome
WootricSDK-Android
Android SDK for Wootric Survey Platform supporting NPS, CSAT and CES surveys
Stars: ✭ 15 (-84.21%)
Mutual labels:  survey
Awesome-Text-to-Image
A Survey on Text-to-Image Generation/Synthesis.
Stars: ✭ 251 (+164.21%)
Mutual labels:  survey
survey-analytics
SurveyJS Analytics Pack
Stars: ✭ 56 (-41.05%)
Mutual labels:  survey
forms-frontend
Frontend for Python Discord forms.
Stars: ✭ 18 (-81.05%)
Mutual labels:  survey

Kroger CLI

Display Purchases Summary

I got tired of manually applying the digital coupons while grocery shopping and decided to automate the process. While doing so I've added extra features, currently this python's cli can:

The script works on kroger.com and other Kroger-owned grocery stores (Ralphs, Fry's, Fred Meyer, Dillons, Food 4 Less, etc).

Install/Download

Windows

You can download the latest version from the GitHub's releases tab.

Linux

  • Clone the repository: git clone [email protected]:Shmakov/kroger-cli.git && cd ./kroger-cli
  • Creating virtual environment: python3.8 -m venv ./venv (you might need to install sudo apt-get install python3.8-venv)
  • And activate it: source venv/bin/activate
  • Install the requirements: pip install -r requirements.txt
  • And you should be able to launch the project: python -m kroger_cli

CLI Commands

The application support non-interactive mode by passing a name of a command. An example on how to complete Kroger's Survey: kroger-cli survey.

Please use kroger-cli --help to see list of all available commands. Alternatively you can run the application without any command to launch the interactive mode (you can see the screenshot of it below).

Screenshots

Main Interface

Kroger CLI Screenshot

Clip Digital Coupons

Clip all Kroger's Digital Coupons

Purchases Summary

Display Purchases Summary

Fuel Points Balance

Fuel Points Balance

Complete Kroger's Feedback Form

Watch

Side Notes

The initial plan was to use plain HTTP (and requests package), however I couldn't sign in to the Kroger's website using it. Possibly had to do with csrf token validation and/or JavaScript-based protection. Because of that I had to use pyppeteer, which is a python's port of Puppeteer (Headless Chrome).

TODO

  • Purchased items (receipt data) Excel export, which could be useful for budgeting/categorization/filtering
  • Notification on when certain items go on sale
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].