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.3.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for cleverchat.py-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76d3498c1af013a9a1f0ee8365abc21367c46219dbd11a658a3b961f213aa5d0 |
|
MD5 | 5590b5b3898a8e0f894d9488ec4e05cb |
|
BLAKE2b-256 | 5ff604589cd20a4cfbce2a8f4d78d6cbf282f0e65e83002e814b5bb3308ad14d |