hoaxy

FREE
By truthy
Updated 4 months ago
Media
8.8/10
Popularity Score
849ms
Latency
100%
Success Rate
Discussions
Hi Developer, feel free to ask your question:
jbdougherty:2 years ago
5 Answers

TopArticles API broken

jbdougherty:2 years ago
2 Answers

GET Articles API changed

gyan47:2 years ago
2 Answers

Adding FB shares

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://api-hoaxy.p.rapidapi.com/articles?sort_by=relevant&use_lucene_syntax=true&query=pizzagate+AND+date_published%3A%5B2016-10-28+TO+2016-12-04%5D")
.header("X-RapidAPI-Host", "api-hoaxy.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