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')
- Close instance on your app shutdown
await cb.close()
Examples
Check more examples at the /examples folder
Wiki
Feel free to read our Wiki
Metadata
Release files for aioChatbase 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aioChatbase-1.0.0.tar.gz | 10.3 kB | Without provenance | Details for aioChatbase-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aioChatbase-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for aioChatbase-1.0.0-py3-none-any.whl |
Total release size: 27.9 kB
Release files / aioChatbase-1.0.0.tar.gz
| Download URL | aioChatbase-1.0.0.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1547b3a7f859f056ea9ed2899de292ea89d7ff93e86eb48535fed3dac58b4eb
|
|
BLAKE2b-256 checksum How to use checksums |
8d6e2563c40565fa0db3f7917aa387109d533f6a0621a9327d440c310c9de92c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
|
Release files / aioChatbase-1.0.0-py3-none-any.whl
| Download URL | aioChatbase-1.0.0-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a68c87666a7d566f5ef466449cd276b3de177973245e7b40b6dc4b8bd04be529
|
|
BLAKE2b-256 checksum How to use checksums |
fb319876350e33911079aa7fbdc8bd953b377363686bb8f38c2acea68e366470
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
|
Security for aioChatbase 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.