BotMaker API Client
Project description
BotMaker client library
Installation
pip install botmaker
Run tests
make venv
source venv/bin/activate
export BOTMAKER_ACCESS_TOKEN={access_token}
make test
Release to PyPi
pip install -U setuptools wheel twine
make release
# PyPi will prompt you to log in
Usage
Send a message based on an existing template
import botmaker
client = botmaker.Client() # Will use the env var BOTMAKER_ACCESS_TOKEN
# Send from '5215500000000' to '5215522222222'
client.template_messages.create(
'5215500000000', '5215522222222',
'template_name', template_param1='x', template_param2='y'
)
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
botmaker-0.3.5.tar.gz
(5.4 kB
view hashes)
Built Distribution
botmaker-0.3.5-py3-none-any.whl
(10.2 kB
view hashes)