Now You Code In Class: Zomato

For this Now You Code, you will need the Zomato api https://developers.zomato.com/api which provides API access to local area restaurants information. Sign up for an API key!

Let's write a program to do the following

  1. input the place you're travelling to
  2. list the top 10 restaurants trending this week at the location
  3. Show the details address menu.

You will need to use the following Zomato API's

NOTE: Do not worry about error handling or functions. We will attempt that next week.

In your algorithm, frame your steps based on how the API must be used to complete the task.

Step 1: Problem Analysis

Inputs: None

Outputs: a dictionary of current exchange rates

Algorithm (Steps in Program):


In [20]:
import requests

zomato_key = 'InsertYourKeyHere'


280