Ebola Outbreak

FREE
By montanaflynn
Updated 4 months ago
Medical
5/10
Popularity Score
417ms
Latency
100%
Success Rate

Ebola Outbreak API Documentation

Ebola cases, deaths, projections and current growth rates. Ebola data provided by the World Health Organization. Source code on GitHub.

View API Details
GETCases
GETRate
GETCases

Returns confirmed case and death counts.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
unirest.get("https://ebola-outbreak.p.rapidapi.com/cases")
.header("X-RapidAPI-Host", "ebola-outbreak.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://ebola-outbreak.p.rapidapi.com/cases
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://ebola-outbreak.p.rapidapi.com/cases")
.header("X-RapidAPI-Host", "ebola-outbreak.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