Git Product home page Git Product logo

cleverbot4j's Introduction

CleverBot4J

CleverBot4J is a java api wrapper for cleverbot.io

Cleverbot.io is dead

Unfortunately this api has died

maven package

  • Repository: jitpack
  • Artifact: com.github.duncte123:CleverBot4J:-SNAPSHOT

Using in Gradle:

repositories {
    maven {
        name 'jitpack'
        url 'https://jitpack.io'
    }
}

dependencies {
    compile 'com.github.duncte123:CleverBot4J:-SNAPSHOT'
}

Using in Maven:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependency>
    <groupId>com.github.duncte123</groupId>
    <artifactId>CleverBot4J</artifactId>
    <version>-SNAPSHOT</version>
</dependency>

Usage

Setting the api up

First you need to get an api and user key from this page.

When you have done that you can set the api up like this.

You can use setKeys(user, api) if you want to set both keys at once.

The nickname is optional

CleverbotAPI api = new CleverbotBuilder()
                .setUserKey("CLEVERBOT_USER_KEY")
                .setApiKey("CLEVERBOT_API_KEY")
                .setNickname("Cleverbot4J")
                .build();

To send questions to the bot you can use the askQuestion method.

String answer = api.askQuestion("How are you?");

cleverbot4j's People

Contributors

duncte123 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cleverbot4j's Issues

Is it actually dead?

I have a python Discord bot that uses cleverbot.io and it's still working fine. Maybe they changed something else?
I am not sure but I was really looking forward to using this API.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.