Skip to main content

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'
)

Release files for botmaker 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for botmaker 0.3.5
File Size Uploaded
botmaker-0.3.5.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for botmaker 0.3.5
File Interpreter ABI Platform
botmaker-0.3.5-py3-none-any.whl Python 3 none any Details

Total release size:15.5 kB

Release files / botmaker-0.3.5.tar.gz

Download URL botmaker-0.3.5.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e0de7d354e460f5d5fd58f082df0973e860dc8f86340d5773c7b8dea20eaf32b
BLAKE2b-256 checksum
How to use checksums
3648f7746c12b42b5bfbf6ad5c827e08b5bb8127aadae672020ed1c4b8f357f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9

Release files / botmaker-0.3.5-py3-none-any.whl

Download URL botmaker-0.3.5-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37fa063e12a31346e70d207d376ad534aba3834c90ca736b9a6745dcdd40ffa4
BLAKE2b-256 checksum
How to use checksums
8a1081ac2b69abb56b3f0f2639548b1e83916faffd110664cc574a84bb52fc1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page