FuxiAPI

FREEMIUM
By dmitrykey
Updated 4 days ago
Text Analysis
4.3/10
Popularity Score
736ms
Latency
38%
Success Rate

FuxiAPI API Documentation

Simplified and Traditional Chinese sentiment analysis API. 免费试用简体中文和繁体中文情感分析API

View API Details
POST/sentiment
POST/sentiment
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
json_inputJSON_STRING
REQUIREDJSON
Code Snippet
unirest.post("https://dmitrykey-fuxiapi-v1.p.rapidapi.com/sentiment")
.header("X-RapidAPI-Host", "dmitrykey-fuxiapi-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"text":"滙豐大班的「事頭婆」走了 派報逾半世紀 金庫都入得 https://t.co/JfU7w16idS 這位街頭小報販,原來與滙豐中環總行淵源甚深,至今仍是唯一獲准自由出入34樓大班房送報紙的「街外人」,連滙豐銀行周年誌慶和聖誕派對都邀請她出席,更有高層形容她是滙豐的「無名英雄」"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://dmitrykey-fuxiapi-v1.p.rapidapi.com/sentiment
Request Method: POST
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.post("https://dmitrykey-fuxiapi-v1.p.rapidapi.com/sentiment")
.header("X-RapidAPI-Host", "dmitrykey-fuxiapi-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"text":"滙豐大班的「事頭婆」走了 派報逾半世紀 金庫都入得 https://t.co/JfU7w16idS 這位街頭小報販,原來與滙豐中環總行淵源甚深,至今仍是唯一獲准自由出入34樓大班房送報紙的「街外人」,連滙豐銀行周年誌慶和聖誕派對都邀請她出席,更有高層形容她是滙豐的「無名英雄」"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication