Project description
Clever-chat
An API Wrapper for clever-chat (chatbot) in Python
Features
- Easy to use
- Epic customizations
- Extremely fast responses
- No rate-limits
Installation
pip install clever-chat
API Reference
Getting a response
# Synchronous Client
import clever_chat
from clever_chat import Client
print(Client.get_response('Hello'))
# Asynchronous Client
import asyncio
import clever_chat
from clever_chat import AsyncClient
response = asyncio.get_event_loop().run_until_complete(AsyncClient.get_response("Hello"))
print(response)
Parameter |
Type |
Description |
message |
string |
Required. The message you're sending to the bot |
Customizations (Optional)
# Synchronous Client
import clever_chat
from clever_chat import Client
print(Client.get_response('Hello', user_id, chatbot_gender, chatbot_name, developer_name, chatbot_age, birthday, birthplace, birthyear, religion, favouriteactor, favouriteactress, favouriteartist, favouriteauthor, favouriteband, favouritebook))
# Asynchronous Client
import asyncio
import clever_chat
from clever_chat import AsyncClient
response = asyncio.get_event_loop().run_until_complete(AsyncClient.get_response("Hello", user_id, chatbot_gender, chatbot_name, developer_name, chatbot_age, birthday, birthplace, birthyear, religion, favouriteactor, favouriteactress, favouriteartist, favouriteauthor, favouriteband, favouritebook))
print(response)
Parameter |
Type |
Description |
user_id |
string |
Optional. ID of the message author (for discord only) |
Parameter |
Type |
Description |
chatbot_gender |
string |
Optional. gender of the chatbot |
Parameter |
Type |
Description |
chatbot_name |
string |
Optional. name of the chatbot |
Parameter |
Type |
Description |
developer_name |
string |
Optional. name of the developer of the chatbot |
Parameter |
Type |
Description |
chatbot_age |
string |
Optional. age of the chatbot |
Parameter |
Type |
Description |
birthday |
string |
Optional. birthday of the chatbot |
Parameter |
Type |
Description |
birthplace |
string |
Optional. birth place of the chatbot |
Parameter |
Type |
Description |
birthyear |
string |
Optional. birth year of the chatbot |
Parameter |
Type |
Description |
religion |
string |
Optional. religion of the chatbot |
Parameter |
Type |
Description |
favouriteactor |
string |
Optional. favourite actor of the chatbot |
Parameter |
Type |
Description |
favouriteactress |
string |
Optional. favourite actress of the chatbot |
Parameter |
Type |
Description |
favouriteartist |
string |
Optional. favourite artist of the chatbot |
Parameter |
Type |
Description |
favouriteauthor |
string |
Optional. favourite author of the chatbot |
Parameter |
Type |
Description |
favouriteband |
string |
Optional. favourite band of the chatbot |
Parameter |
Type |
Description |
favouritebook |
string |
Optional. favourite book of the chatbot |
Authors
License
MIT
Contributing
Contributions are always welcome!
You can DM me on discord i.e. Pr0methium#0337 if you wanna contribute to this project!
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file clever_chat-1.0.1.tar.gz
.
File metadata
-
Download URL:
clever_chat-1.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
-
Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Hashes for clever_chat-1.0.1.tar.gz
Algorithm |
Hash digest |
|
SHA256 |
0c1ea039c37a7a33f1e507d076eeea1d98fcffae82a52fa921d8fc7513e1e6ce |
|
MD5 |
071b4844500b973b6358ed0048117ee8 |
|
BLAKE2b-256 |
a84f73412bcb6581f92932e97f59adbf2072cfb6d5d63358b788f793805b30ae |
|
See more details on using hashes here.
File details
Details for the file clever_chat-1.0.1-py3-none-any.whl
.
File metadata
-
Download URL:
clever_chat-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
-
Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Hashes for clever_chat-1.0.1-py3-none-any.whl
Algorithm |
Hash digest |
|
SHA256 |
e9760faad2fad54bb40e81bf8069a18fc98174b3ce6dec14ce4ba8e943ffe06e |
|
MD5 |
7535ae27631b52e831db6e7417f3ea0e |
|
BLAKE2b-256 |
7c25ef72c9600e51766f554859ea743df6644708c35f5f0148e133a97e7564b7 |
|
See more details on using hashes here.