Botometer

FREE
By OSoMe
Updated 4 months ago
Social
9.8/10
Popularity Score
2503ms
Latency
87%
Success Rate
pujupaudel3 months ago
Intepretation of API ResultsThe results we get from The API result : "categories": { "friend": 0.45, "sentiment": 0.34, "temporal": 0.55, "user": 0.29, "network": 0.43, "content": 0.41 } Is the range of value from 0-1 ? or 1-5 ( Similar to the API ,of the BotoMeter Web Client ) ? I suppose it's 0-1 right ?
OSoMe3 months ago
Right -- we changed the scale of the Web client but the API scores are still in the [0-1] range. Thanks.
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://osome-botometer.p.rapidapi.com/2/check_account")
.header("X-RapidAPI-Host", "osome-botometer.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"user":{"id":"1234567890","screen_name":"IUNetSci","...":"..."},"timeline":[{"id":1234567890,"text":"@Botometer is so cool!","...":"..."},"..."],"mentions":[{"id":9876543210,"text":"@TruthyAtIndiana is also cool!","...":"..."},"..."]})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication