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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cleverchat.py-0.0.3.tar.gz.
File metadata
- Download URL: cleverchat.py-0.0.3.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39bbebc18efe7b56d678f13a473ac9ac16f3eb8333444df819ab2a03c3f982b2
|
|
| MD5 |
4017180dfefc7fa72abd5eb615c78850
|
|
| BLAKE2b-256 |
59bf3e67fbec2179338a8fcf3f02bc12338abd46c452b7348ebcdeccc09cd29e
|
File details
Details for the file cleverchat.py-0.0.3-py3-none-any.whl.
File metadata
- Download URL: cleverchat.py-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76d3498c1af013a9a1f0ee8365abc21367c46219dbd11a658a3b961f213aa5d0
|
|
| MD5 |
5590b5b3898a8e0f894d9488ec4e05cb
|
|
| BLAKE2b-256 |
5ff604589cd20a4cfbce2a8f4d78d6cbf282f0e65e83002e814b5bb3308ad14d
|