This Python Script Scraps Resturants using API Key of Zomato
- Log in or create a free account on Zomato
- Navigate to their developers page, click on the "Generate API Key" button.
- The API requires that you enter your phone number, Company Website/Blog
- Run
pip install - r requirements.txt
- Create a
.env
file like as.env.example
, and add follwoing line with your API Key which you get from above Steps.
projectKey = {put your key here without brackets}
cityName = {add City Name Here}
- Run
python main.py
You Will Get Output Like This: