RapidAPI logo

Sign Up

Log In

Recipe and Ingredient Analysis

FREEMIUM
By zestfuldata
Updated 2 months ago
7.6/10
Popularity Score
317ms
Latency
100%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
rachel_mislovaty:2 months ago
1 Answer

Is this API available offline?

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://zestful.p.rapidapi.com/parseIngredients")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/json")
.send({"ingredients":["2 cups baby portobello mushrooms, sliced","3 tablespoons extra-virgin olive oil, or more to taste","1 1/2 tbsp cinnamon"]})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication