fxjordan / botometer-java

Java library to detect Twitter bot accounts using the Botometer API. Botometer is a bot detection service for Twitter accounts developed by OSoMe.
https://botometer.iuni.iu.edu
Apache License 2.0
4 stars 3 forks source link
api-client bot-detection botometer java twitter

Botometer Java Build Status

Java library to detect Twitter bot accounts using Botometer by OSoMe. It uses the Botometer API available at RapidAPI.

Usage

BotometerConfiguration config = new BotometerConfigurationBuilder()
    .botometerApiKey("Botometer-API-Key") // X-RapidAPI-Key
    .twitterConsumerKey("consumer-key")
    .twitterConsumerSecret("consumer-secret")
    .twitterAccessToken("access-token")
    .twitterAccessTokenSecret("access-token-secret").build();

Botometer botometer = new BotometerFactory(config).create();

AccountAnalysisResult result = botometer.analyzeAccount("TruthyBotOrNot");

Setup

Add dependecy:

<dependency>
    <groupId>de.fjobilabs.botometer</groupId>
    <artifactId>botometer-java</artifactId>
    <version>0.1.1</version>
</dependency>

To be continued...

More details will follow soon.

License

Copyright 2019 FJOBI Labs Softwareentwicklung - Felix Jordan

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.