You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-5Lines changed: 25 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,22 @@ At this moment the application can:
13
13
*[Display Purchases Summary](#purchases-summary) (number of store visits and dollars spent)
14
14
*[Retrieve Points Balance](#fuel-points-balance)
15
15
16
-
#### TODO
16
+
The script works on kroger.com and other Kroger-owned grocery stores (Ralphs, Fry's, Fred Meyer, Dillons, Food 4 Less, [etc](https://en.wikipedia.org/wiki/Kroger#Chains)).
17
17
18
-
* Command Line Arguments, to allow something like that: `kroger-cli --clip-digital-coupons`
18
+
Install/Download
19
+
----------------
20
+
21
+
### Windows
19
22
20
-
#### Side Notes
23
+
You can download the latest version from the GitHub's [releases tab](https://github.com/Shmakov/kroger-cli/releases).
21
24
22
-
The initial plan was to use the `requests` package, however I couldn't sign in to the Kroger's website using it. Possibly had to do with csrf token validation. Because of that I had to use `pyppeteer`, which is a python's port of `Puppeteer` (Headless Chrome).
25
+
### Linux
26
+
27
+
* Clone the repository: `git clone [email protected]:Shmakov/kroger-cli.git && cd ./kroger-cli`
28
+
* Creating virtual environment: `python3.8 -m venv ./venv` (you might need to install `sudo apt-get install python3.8-venv`)
29
+
* And activate it: `source venv/bin/activate`
30
+
* Install the requirements: `pip install -r requirements.txt`
31
+
* And you should be able to launch the project: `python main.py`
23
32
24
33
Screenshots
25
34
-----------
@@ -42,4 +51,15 @@ Screenshots
42
51
43
52
### Complete Kroger's Feedback Form
44
53
45
-
[Watch](images/Kroger-Survey.gif)
54
+
[Watch](images/Kroger-Survey.gif)
55
+
56
+
Side Notes
57
+
----------
58
+
59
+
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).
60
+
61
+
### TODO
62
+
63
+
* Command Line Arguments, to allow something like that: `kroger-cli --clip-digital-coupons`
64
+
* Purchased items (receipt data) Excel export, which could be useful for budgeting/categorization/filtering
0 commit comments