RapidAPI logo

Sign Up

Log In

FuxiAPI

FREEMIUM
By dmitrykey
Updated 3 months ago
Data
-/10
Popularity Score
-
Latency
-
Success Rate
Discussions
Hi Developer, feel free to ask your question:
Fenger:a year ago
1 Answer

Fenger-Home

sanpietro:2 years ago
4 Answers

Server error 500

sanpietro:2 years ago
6 Answers

Is it possible to get the actual sentiment score besides the polarity?

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://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