RapidAPI logo

Sign Up

Log In

indico

FREE
By indico
Updated 3 months ago
Tools
-/10
Popularity Score
-
Latency
-
Success Rate

indico API Documentation

A Mashape wrapper for indico's existing text APIs. Current APIS: Sentiment Analysis Political Alignment Detection Language Detection Text Tagging

Our image APIs will be along shortly, once the interface is cleaned up a bit. These APIs also have explicit wrappers for a number of languages visible on our Github page: https://github.com/IndicoDataSolutions

More documentation as well as docs specific to each of our language can be found here: http://indico.readme.io/v1.0/docs

View API Details
Text Analytics
POST/sentiment
POST/political
POST/language
POST/texttags
POST/sentiment

sentiment analysis endpoint

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
dataSTRING
REQUIREDA raw string that will be the subject of sentiment analysis
Request Snippet
unirest.post("https://indico-indico-v1.p.rapidapi.com/sentiment")
.header("X-RapidAPI-Host", "indico-indico-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("data=Great tool!")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
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.post("https://indico-indico-v1.p.rapidapi.com/sentiment")
.header("X-RapidAPI-Host", "indico-indico-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("data=Great tool!")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication