Botometer

FREE
By OSoMe
Updated 4 months ago
Social
9.8/10
Popularity Score
2503ms
Latency
87%
Success Rate
phdcs170083 months ago
Response Object 'Cap' keyWhat is meant by 'cap' key in the response object? it contains 'english' and 'universal' scores. How does these scores differ from 'scores' key present separately?
OSoMe3 months ago
Please refer to the FAQ on the Botometer website: https://botometer.iuni.iu.edu/#!/faq#what-is-cap
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