Asyncio Chatbase API library
Project description
aioChatbase
aioChatbase is a library for Chatbase Generic Message API written in Python 3.6 with asyncio and aiohttp. It helps to integrate Chatbase with your chatbot.
How to install
python3.6 -m pip install aioChatbase
How to use
- Import Chatbase
from aiochatbase import Chatbase
- Create cb instance
cb = Chatbase(API_KEY, BOT_PLATFORM)
- Register handled message
await cb.register_message(user_id='123456', intent='start')
- Register non-handled message
await cb.register_message(user_id='123456', intent='unknown message', not_handled=True)
- Register url click
await cb.register_click(url='google.com')
Check more examples at /examples folder
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
aioChatbase-0.0.5.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for aioChatbase-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e861469a9ef0970d84e57f28f93160894f5889c764d954112d70c984d9a7b9a1 |
|
MD5 | cc481c100c43dbcf1669c554b30ef874 |
|
BLAKE2b-256 | 75ae11fde9e1cd995af1e7a8e90c0ed73534213c13d506433bdb8497b54a6231 |