The python script retrieves all your orders and
- Calculates the toal money you spent
- No of dishes with sort
- Restrurant list
- Average Order
on swiggy.com and zomato.com.
The script expects you to give your swiggy session as input.
-
Login to swiggy.com or zomato.com on a browser (chrome or firefox)
-
Install the Cookie Editor chrome extension or the Cookie Editor firefox extension
-
Go to the Swiggy tab or Zomato tab and click on the Extension's icon, and select "Export". This will copy your cookies to clipboard
-
Create a new file called
cookies.json
in the same directory as theswiggy.py
script orzomato.py
script and paste the copied cookies into this file. -
Install requirements with
pip
pip install -r requirements.txt
-
Now simply run
swiggy.py
to get swiggy orderspython swiggy.py
-
Now simply run
zomato.py
to get zomato orderspython zomato.py