Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Hands-On Chatbots and Conversational UI Development

You're reading from   Hands-On Chatbots and Conversational UI Development Build chatbots and voice user interfaces with Chatfuel, Dialogflow, Microsoft Bot Framework, Twilio, and Alexa Skills

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher Packt
ISBN-13 9781788294669
Length 392 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
 Janarthanam Janarthanam
Author Profile Icon Janarthanam
Janarthanam
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Introduction 2. Tour Guide for Your City FREE CHAPTER 3. Let's Talk Weather 4. Building a Persona Bot 5. Let's Catch a Train 6. Restaurant Search 7. The News Bot 8. My TV Guide 9. My Man Friday 1. More Resources

Getting started with Zomato


First, we need to create an account with Zomato and get an API key:

  1. Click Generate API Key:
  1. Sign up:
  1. Confirm your email address and click Generate API Key again:
  1. Copy the API key.

Getting data from Zomato 

The base URL for fetching data is https://developers.zomato.com/api/v2.1/. Every query sent to the Zomato server should have the API key sent as part of the header, as follows:

curl -X GET --header "Accept: application/json" --header "user-key: YOURAPIKEY" "https://developers.zomato.com/api/v2.1/categories"

In the preceding HTTP GET call, categories specify the handle that pulls out the various categories of restaurants that are available. Categories include delivery, takeout, and dine-in. Here is the list of handles that are available:

Handle

Description

/categories

Restaurant categories: dine-in, takeout, delivery, and many more.

/cities

Get info about the cities across the globe. Get the Zomato city ID from this query to use in search...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images