Skip to main content

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


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)

Uploaded Source

Built Distribution

cleverchat.py-0.0.3-py3-none-any.whl (8.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page