Skip to content

Fetch your shopping trips from Kroger as a CSV per trip for import into Excel or other budget management software.

License

Notifications You must be signed in to change notification settings

ThermoMan/Get-Kroger-Grocery-List

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Get-Kroger-Grocery-List


Fetch your shopping trips from Kroger as a CSV per trip for import into Excel or other budget management software.

To install this script


1. Click the "Get Kroger Grocery List.user.js" link.
2. Click the button named "Raw". If you have Greasemonkey installed it will take over from tehre and offer to install the script.

If you ned to install GreaseMonkey first, click here for the Mozilla Firefox Add-Ons "app store".

To use this script.


1. Once installed log in to your Kroger (or one of thier family of stores, it mgiht work there too) account and navigate to your Purchase History page.
2. Then click on the See Order Details link and when that page opens and finishes painting you will see a gray button in the upper left of the page that says "Get List".
3. Click it. Momentarily you will be prompted to save your CSV file.
Presently it only works for In-store purchases and Fuel center purchases, but not for Pick ups.

The why of this script


Kroger has made it difficult to use the other Puppeteer based tools to download your shopping history by detecting and rejecting the headless browser. They provide no native tool to make life easier.

Status


This is a beta version of the export, but I wanted to get it out here so others could eyeball it and make suggestions. Or heck, throw in some bug fixes. :D
So far this is only tested on Firefox and Windows 10. If you have a Mac and would like to contribute, or just identify issues, please do.

Here is a sample data set

image

The extended price does not always match the unit price because it contains discounts and coupons which are not shown in the CSV file. This shopping trip was in Texas where food has no tax anbd includes no non-food items so I don't have an example of that kind of data either.

On the list of #to do# is to split the QTY column up into a QTY and PRICE
For intance "2 x $3.19/each" => QTY = 2, UNITS = "count", PRICE = $3.19

And "0.54 lbs x $8.98/each" => QTY 0.54, UNITS = "lbs", PRICE = $8.98 (I'm writing in lbs because # has nearly stopped meaning pounds in modern usage - sad but true)

License

I'm using the MIT License because that is what Greasemonkey uses and I figure; why not? ¯\(ツ)

About

Fetch your shopping trips from Kroger as a CSV per trip for import into Excel or other budget management software.

Resources

License

Stars

Watchers

Forks

Packages

No packages published