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.3.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for aioChatbase-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ccc85149d3fb975a0698c51ec54aa223cb3c38b4cc28e100f92b1225d27fb75 |
|
MD5 | faf034ba51e7a9392360e42046248782 |
|
BLAKE2b-256 | 8585577b4209f81ecc68e36913c4da755f881dde45e9b0a2188cf7598488b02d |