Skip to main content

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.

Source Distribution

botmaker-0.3.6.dev4.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

botmaker-0.3.6.dev4-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file botmaker-0.3.6.dev4.tar.gz.

File metadata

  • Download URL: botmaker-0.3.6.dev4.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for botmaker-0.3.6.dev4.tar.gz
Algorithm Hash digest
SHA256 7240a9ddd5ad8ff4720e68211b8e68483f0e1b2520d8fb0720e93f18e28d2918
MD5 df9772aaa062d66cc06ca577835c4042
BLAKE2b-256 d0e82aebc45f861554e2c52a330e3c04821399a927aac848636c7896279a0994

See more details on using hashes here.

File details

Details for the file botmaker-0.3.6.dev4-py3-none-any.whl.

File metadata

File hashes

Hashes for botmaker-0.3.6.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 9b2c80dba8215e77b774334e664c1a29bebbbea8c67d2d580edb7036b3d0a5a3
MD5 9faeb2468bb55a958a98e48318c8558b
BLAKE2b-256 1e87bf488be3b5c8f45e2b5967886445101378edc7967dcd4c942f85698d57a1

See more details on using hashes here.

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