Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 1019 Bytes

README.md

File metadata and controls

28 lines (14 loc) · 1019 Bytes

This project shows the areas or localities in which you can open a restaurant based on the data from previous restaurants.

To run the project :

python 3+, pip should be installed.

run : pip install -r requirments.txt to satisfy dependencies

run : python or python3 (linux) scrape_zomato_pagination.py -h for help text

-h : Help

-ci : City name eg: mumbai eg: python scrape_zomato_pagination.py -ci mumbai

-rat: minimum rating eg 3

-rat_max : for maximum ratings eg 4

-rev : for minuimum reviews

-cui: for cuisines eg: fast food, you can give multiple cuisine names seperated by a comma (,) eg: fast food, pizza, north indian

The end result would be 2 maps in the browser

The 1st map would show all the restaurants with markers and information like reviews,ratings,name,latitude,longitude,etc per restaurant

The 2nd map would show the suggested areas with markers each with a rank and each suggestion is accurate upto 1 kilometer which can be changed in the pincode.py file by changing the eps parameter.