Malnutrition

PAID
By emmanuelchevallier
Updated 4 months ago
Medical
4.3/10
Popularity Score
312ms
Latency
100%
Success Rate

Malnutrition API Documentation

Malnutrition score

View API Details
GETMalnutrition
GETMalnutrition

Malnutrition score and anthropometric indicators

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
weight_in_kgNUMBER
REQUIREDWeight in kg Body weight Measured in kg http://s.details.loinc.org/LOINC/3141-9.html?sections=Comprehensive
height_in_cmNUMBER
REQUIREDBody height Measured in cm http://r.details.loinc.org/LOINC/3137-7.html?sections=Comprehensive
sex_F_or_MSTRING
REQUIREDSex is F or M http://hl7.org/fhir/valueset-administrative-gender.html
growth_refSTRING
REQUIREDGrowth references, value are who or flemish
dateofbirthSTRING
REQUIREDBirth date as YYYY-MM-DD
Optional Parameters
dateofmeasureSTRING
OPTIONALMesure date as YYYY-MM-DD
Code Snippet
unirest.get("https://emmanuelchevallier-malnutrition-v1.p.rapidapi.com/malnutrition")
.header("X-RapidAPI-Host", "emmanuelchevallier-malnutrition-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://emmanuelchevallier-malnutrition-v1.p.rapidapi.com/malnutrition
Request Method: GET
Response Headers
Response Body

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://emmanuelchevallier-malnutrition-v1.p.rapidapi.com/malnutrition")
.header("X-RapidAPI-Host", "emmanuelchevallier-malnutrition-v1.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