RapidAPI logo

Edamam Nutrition Analysis

FREE
By edamam
Updated 4 months ago
Food
8.8/10
Popularity Score
718ms
Latency
100%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
Droppix:3 months ago
0 Answers

Support Languages ?

kbrown:a year ago
0 Answers

get endpoint is not returning nutritional information

baskedunk:2 years ago
0 Answers

The get url is not working

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.get("https://edamam-edamam-nutrition-analysis.p.rapidapi.com/api/nutrition-data?ingr=1+large+apple")
.header("X-RapidAPI-Host", "edamam-edamam-nutrition-analysis.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication