-
main.py : Contains driver code
-
restaurant_details.py : Contains code that fetches the details of individual restaurants
-
restaurants.py : Contains code that fetches the list of all the restaurants in an area of the city
-
Create a virtual environment using
python -m venv env
-
Use command
env\Scripts\activate
(for windows) to activate the virtual environment -
Use the command
pip install -r requirements.txt
to install all the dependencies
In order to get the list of the restaurants along with their details, run "python main.py" and enter the name of the city as input The reqired details of all the restaurants will be stored in the file result.json