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.dev3.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: botmaker-0.3.6.dev3.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for botmaker-0.3.6.dev3.tar.gz
Algorithm Hash digest
SHA256 d66d429368aa8e77f8966d39f134c1d99aadb35c19bceaecdcac09109d37003d
MD5 841fb3f05cffe252823892e17ce353a7
BLAKE2b-256 df66c7420bc90aa6082516604772c20f92228df9172a34fd893f8b197fddcf5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for botmaker-0.3.6.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 543a234c43cdb233441fb3538dc96edf38007eb9b774ff5e7596736d8e0dd56a
MD5 7ff5455aeefaf53eaa70d47933739410
BLAKE2b-256 af721eed32312015ae9f6741dd17f33ae8da3dc6e1391d0b198a9545a87d12eb

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