Skip to content

abhaypartap12/zomato_data_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zomato Data Analysis

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

Screenshot 2022-04-21 at 12 20 14 PM


4.) Use this endpoint with the values(Refer Point 3):- "http://127.0.0.1:8000/zoltv/x-zomato-csrft?cookie=Cookie"
Output:-

Screenshot 2022-04-21 at 12 24 54 PM

And data.csv will also be created in the directory which can be used for analysis further.