A wrapper for the official cleverbot.com API
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cleverwrap-0.3.0.2.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for cleverwrap-0.3.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6cc2a33181ee8351582602c96508420d3999b78b7d0857e6b1df7046659a352 |
|
MD5 | 629bbec6bfa999ae6732f45008f52ec5 |
|
BLAKE2b-256 | 613789aca4f26b8338c7682c80259ec8392c5c8899d1441e8068919939198fbd |