Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

BotMaker API Client

Project description

BotMaker client library

Build Status Coverage Status PyPI

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.

Files for botmaker, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size botmaker-0.3.1-py3-none-any.whl (9.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size botmaker-0.3.1.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page