Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

snoonetIRC/cleverwrap.py

 
 

Repository files navigation

CleverWrap.py

Build Status codecov

This project has moved to TotallyNotRobots/cleverwrap.py.

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.

Packages

No packages published

Languages

  • Python 100.0%