Skip to main content

A wrapper for the official cleverbot.com API

Project description

CleverWrap.py

Build Status codecov

A simple python wrapper class to interact with the official CleverBot API.

This package was created to run on python3

Installing

You can install cleverwrap.py from pypi using: pip install cleverwrap

You can also clone this repository and import the library directly.

Usage

>>> from cleverwrap import CleverWrap
>>> cw = CleverWrap("API_KEY")
>>> cw.say("Hello CleverBot.")
"Hello Human."
>>> cw.reset() # resets the conversation ID and conversation state.
>>> conv = cw.new_conversation()  # Start a new conversation with CleverBot
>>> conv.say("Hellon there.")
"Hello Human."
>>> conv.reset()  # Reset the conversation state

License

Copyright 2017 Andrew Edwards using the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cleverwrap, version 0.3.0.2
Filename, size File type Python version Upload date Hashes
Filename, size cleverwrap-0.3.0.2-py3-none-any.whl (5.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cleverwrap-0.3.0.2.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page