Skip to main content

Machaao package for connecting MessengerX.io APIs to MessengerX.io Chatbots

Reason this release was yanked:

this was PRE-ALPHA, Production is released.

Project description

machaao - python module

An easy to use module for python developers looking to build and develop chat apps using MACHAAO Platform

Minimum Requirements

python3 
ngrok

Get your FREE API Key through the Dev Portal

Get your FREE API Key @ https://portal.messengerx.io

Install

# For Linux/MacOS
pip3 install machaao

# For Windows
pip install machaao

NGROK (Required for local development)

# For Linux/MacOS
brew install ngrok

# For Windows
pip install machaao

Create new chatbot project

machaao start <project_name>

navigate to the newly created chatbot project directory

cd <project_name>

Please update the settings.yml to the api key and base url as shown below

machaao_api_token = "<API_KEY_FROM_PORTAL>"
machaao_base_url = "https://ganglia-dev.machaao.com" [for development purposes]

Run your simple chatbot

python3 chatbot.py

Run NGROK and note down your NGROK URL

ngrok http 5000
[https://<....>.ngrok.io/]

Got to your bot settings on the portal and update your Chatbot Webhook URL Settings

[https://<....>.ngrok.io/machaao/incoming]

Your chatbot is now ready to start receiving incoming messages from users

#HappyCoding

NOTE: UNDER ACTIVE DEVELOPMENT (PRE-ALPHA)

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

machaao-0.0.3.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

machaao-0.0.3-py3-none-any.whl (5.8 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