Skip to main content

Asyncio Chatbase API library

Project description

aioChatbase

Supported python versions MIT License PyPi Package Version PyPi status

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

  1. Import Chatbase
from aiochatbase import Chatbase
  1. Create cb instance
cb = Chatbase(API_KEY, BOT_PLATFORM)
  1. Register handled message
await cb.register_message(user_id='123456', intent='start')
  1. Register non-handled message
await cb.register_message(user_id='123456', intent='unknown message', not_handled=True)
  1. Register url click
await cb.register_click(url='google.com')
  1. Close instance
await cb.close()

Check more examples at /examples folder

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

aioChatbase-0.0.8.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

aioChatbase-0.0.8-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file aioChatbase-0.0.8.tar.gz.

File metadata

  • Download URL: aioChatbase-0.0.8.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for aioChatbase-0.0.8.tar.gz
Algorithm Hash digest
SHA256 27461157ee76d07ddaff8a4f77aaa9d17ee261c5e9eb39f3e1d46258a6c0153a
MD5 a8e7314e2cb93049386e8f7599455adb
BLAKE2b-256 e28ede569d548aff8dbab201410a0b05bde5d675212b5d6a81626368975783b3

See more details on using hashes here.

Provenance

File details

Details for the file aioChatbase-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: aioChatbase-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for aioChatbase-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d2ec107dac062f01100db1f5719860152189096866580d5ee12127ae611a0c89
MD5 a1ed5c15e8ea79e53ee5388dbd5e3b5e
BLAKE2b-256 640aa4b0b21d7e5dbbf6b7622ba4ec10221bd610da406acc3ac042741c5293e6

See more details on using hashes here.

Provenance

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