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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

botmaker-0.3.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file botmaker-0.3.0.tar.gz.

File metadata

  • Download URL: botmaker-0.3.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for botmaker-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a5d414988b1a40e59bbdbd45e34478ac43a9b4f1276efdb91d9c9b241ac70fca
MD5 e1b7a0ee7b36a06efb9feee0b8b0e755
BLAKE2b-256 05deb6efad5711c7f72fc18c36bacaff3322bc0e070e993ce7c0ad1b0cfa04c0

See more details on using hashes here.

File details

Details for the file botmaker-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: botmaker-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for botmaker-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24214eaf21aa69e3f9351b4d90c6a6e70147b5152137684cb3311d5debfb73ad
MD5 5859cf0d81ff9678814fba8eb213e805
BLAKE2b-256 94156566c6e9b69d989f7802c5d1bbf7325ad196e7b03d5986e0f81f7e112818

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page