API Wrapper for clever-chat API
Project description
CleverChat.py
API wrapper for clever-chat ChatBot API
Example Sync Usage
from clever_chat import Client
client = Client()
res = client.get_response("Hi")
print(res.message)
client.close()
Example Async Usage
from clever_chat import AsyncClient
import asyncio
client = AsyncClient()
async def main():
response = await client.get_response("Hi")
print(response.message)
await client.close()
asyncio.get_event_loop().run_until_complete(main())
Links
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
cleverchat.py-0.0.1.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for cleverchat.py-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7cf40472080055d2535fa2ed494c0f31a898e9b7273b998a0dfc1f622a4726e |
|
MD5 | 8a4caf944caf425a3ed4cf4b49e24085 |
|
BLAKE2b-256 | e808104a4cc37efd167341d05ff9c529505e36d4be46384bcf3f9f664a0b2d29 |