ESA Semantic Relatedness

FREEMIUM
By amtera
Updated 5 months ago
Other
2.3/10
Popularity Score
59157ms
Latency
-
Success Rate
mashaper5 years ago
Add Mashape embed buttonAwesome API. We'd like to promote your API further to developers. Can you email m o r g a n @ m a s h a p e . c o m ? Also, are you able to add a Mashape embed button to your site? - http://mashape.tumblr.com/post/44116714208/introducing-the-consume-with-mashape-button
Hi Developer, feel free to post your answer:

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://amtera.p.rapidapi.com/relatedness/en")
.header("X-RapidAPI-Host", "amtera.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"t1":"car","t2":"engine"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication