RapidAPI logo

Zomato

FREE
By raygorodskij
Updated 4 months ago
Food
9/10
Popularity Score
208ms
Latency
100%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
travelbuddytech:21 days ago
0 Answers

JSON_VALIDATION issue

vicky12345:2 months ago
0 Answers

api

dev.nikitagroup:2 months ago
0 Answers

Test endpoint fails and SDK for php doesn't working well

vana6070:3 months ago
1 Answer

Test endpoint always fails

Dennis-LCLema:3 months ago
0 Answers

How much calls do we get a day?

divgangadhar963:3 months ago
0 Answers

connecting api

jomontm:4 months ago
0 Answers

Rate

reena.narvekar87:a year ago
0 Answers

how to create API using key

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://ZomatoraygorodskijV1.p.rapidapi.com/getAllCategories")
.header("X-RapidAPI-Host", "ZomatoraygorodskijV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication