Zomato Personal Order Data Analysis
1.) Install FastAPI
pip3 install fastapi
pip3 install "uvicorn[standard]"
FastAPI Doc Link
2.) Run
python3 -m uvicorn main:app --reload
3.) Login in Zomato using google chrome and while inspect find sendJEvent in Network-Fetch/XHR, Copy Cookie & x-zomato-csrft from Request Headers
4.) Use this endpoint with the values(Refer Point 3):- "http://127.0.0.1:8000/zoltv/x-zomato-csrft?cookie=Cookie"
Output:- And data.csv will also be created in the directory which can be used for analysis further.